blob: bb4c5e4ac0ed59e5d40d4999c683d35c0011bfa5 [file] [log] [blame]
Oleksii Butenko8be76f62018-03-30 13:35:26 +03001{% from 'virtual-mcp-pike-dvr-ssl-barbican/underlay.yaml' import HOSTNAME_CFG01 with context %}
2{% from 'virtual-mcp-pike-dvr-ssl-barbican/underlay.yaml' import HOSTNAME_CMP01 with context %}
3{% from 'virtual-mcp-pike-dvr-ssl-barbican/underlay.yaml' import HOSTNAME_CMP02 with context %}
4{% from 'virtual-mcp-pike-dvr-ssl-barbican/underlay.yaml' import HOSTNAME_GTW01 with context %}
5{% from 'virtual-mcp-pike-dvr-ssl-barbican/underlay.yaml' import LAB_CONFIG_NAME with context %}
6{% from 'virtual-mcp-pike-dvr-ssl-barbican/underlay.yaml' import DOMAIN_NAME with context %}
7
Dennis Dmitriev0f272312018-10-01 13:29:40 +03008{% set SALT_MODELS_REPOSITORY = os_env('SALT_MODELS_REPOSITORY','https://gerrit.mcp.mirantis.com/salt-models/mcp-virtual-lab') %}
Oleksii Butenko8be76f62018-03-30 13:35:26 +03009# Other salt model repository parameters see in shared-salt.yaml
10
11{% import 'shared-salt.yaml' as SHARED with context %}
12
13{{ SHARED.MACRO_INSTALL_SALT_MASTER() }}
14
15{{ SHARED.MACRO_CLONE_RECLASS_MODELS() }}
16
Vladimir Jigulinf557c562018-07-30 18:30:09 +040017{{ SHARED.MACRO_CONFIGURE_RECLASS(FORMULA_SERVICES='"linux" "reclass" "salt" "openssh" "ntp" "git" "nginx" "collectd" "sensu" "heka" "sphinx" "keystone" "mysql" "grafana" "haproxy" "rsyslog" "horizon" "prometheus" "telegraf" "elasticsearch" "powerdns" "fluentd" "barbican" "dogtag" "runtest" "artifactory" "logrotate" "auditd" "gnocchi" "manila" "logrotate"') }}
Oleksii Butenko8be76f62018-03-30 13:35:26 +030018
19{{ SHARED.MACRO_INSTALL_SALT_MINIONS() }}
20
21{{ SHARED.MACRO_RUN_SALT_MASTER_UNDERLAY_STATES() }}
22
Oleksii Butenko8be76f62018-03-30 13:35:26 +030023{{ SHARED.MACRO_GENERATE_INVENTORY() }}
24
25{{ SHARED.MACRO_BOOTSTRAP_ALL_MINIONS() }}
26
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030027{{SHARED.MACRO_CHECK_SALT_VERSION_SERVICES_ON_CFG()}}
Oleksii Butenko8be76f62018-03-30 13:35:26 +030028
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030029{{SHARED.MACRO_CHECK_SALT_VERSION_ON_NODES()}}