Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 1 | {% from 'cookied-cicd-pike-dvr-sl/underlay.yaml' import HOSTNAME_CFG01 with context %} |
| 2 | {% from 'cookied-cicd-pike-dvr-sl/underlay.yaml' import LAB_CONFIG_NAME with context %} |
| 3 | {% from 'cookied-cicd-pike-dvr-sl/underlay.yaml' import DOMAIN_NAME with context %} |
| 4 | |
Dennis Dmitriev | 0f27231 | 2018-10-01 13:29:40 +0300 | [diff] [blame] | 5 | {% set SALT_MODELS_REPOSITORY = os_env('SALT_MODELS_REPOSITORY','https://gerrit.mcp.mirantis.com/salt-models/mcp-virtual-lab') %} |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 6 | # Other salt model repository parameters see in shared-salt.yaml |
| 7 | |
| 8 | {% import 'shared-salt.yaml' as SHARED with context %} |
| 9 | |
| 10 | {{ SHARED.MACRO_INSTALL_SALT_MINIONS() }} |
| 11 | |
Dennis Dmitriev | 13d79b8 | 2018-11-06 23:18:44 +0200 | [diff] [blame] | 12 | - description: "Workaround to avoid reboot cmp nodes: apply patch to bring OVS interfaces UP (PROD-24343)" |
| 13 | cmd: | |
| 14 | set -ex |
| 15 | git clone https://gerrit.mcp.mirantis.com/salt-formulas/linux /root/salt-formula-linux |
| 16 | cd /root/salt-formula-linux |
| 17 | git fetch https://gerrit.mcp.mirantis.com/salt-formulas/linux refs/changes/32/29432/11 && git checkout FETCH_HEAD |
| 18 | cp -r /root/salt-formula-linux/linux/ /srv/salt/env/prd/ |
| 19 | node_name: {{ HOSTNAME_CFG01 }} |
| 20 | retry: {count: 1, delay: 10} |
| 21 | skip_fail: false |
| 22 | |
Dennis Dmitriev | b3b3749 | 2018-07-08 21:23:00 +0300 | [diff] [blame] | 23 | {{SHARED.MACRO_CHECK_SALT_VERSION_SERVICES_ON_CFG()}} |
| 24 | |
| 25 | {{SHARED.MACRO_CHECK_SALT_VERSION_ON_NODES()}} |