blob: b066fc2f4c243c8d94585fe7d40b263bcf0be60b [file] [log] [blame]
Victor Ryzhenkin42e24232017-11-15 08:01:20 -04001{% from 'k8s-ha-calico/underlay.yaml' import HOSTNAME_CFG01 with context %}
2{% from 'k8s-ha-calico/underlay.yaml' import LAB_CONFIG_NAME with context %}
3{% from 'k8s-ha-calico/underlay.yaml' import DOMAIN_NAME with context %}
4
Dennis Dmitriev0f272312018-10-01 13:29:40 +03005{% set SALT_MODELS_REPOSITORY = os_env('SALT_MODELS_REPOSITORY','https://gerrit.mcp.mirantis.com/salt-models/mcp-virtual-lab') %}
Victor Ryzhenkin42e24232017-11-15 08:01:20 -04006# 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_MASTER() }}
11
12{{ SHARED.MACRO_CLONE_RECLASS_MODELS() }}
13
Vladimir Jigulinf557c562018-07-30 18:30:09 +040014{{ 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" "logrotate"') }}
Victor Ryzhenkin42e24232017-11-15 08:01:20 -040015
16{{ SHARED.MACRO_INSTALL_SALT_MINIONS() }}
17
18{{ SHARED.MACRO_RUN_SALT_MASTER_UNDERLAY_STATES() }}
19
20{{ SHARED.ADJUST_K8S_OPTS() }}
21
22{{ SHARED.REGISTER_COMPUTE_NODES() }}
23
24{{ SHARED.MACRO_GENERATE_INVENTORY() }}
25
26{{ SHARED.MACRO_BOOTSTRAP_ALL_MINIONS() }}
Tatyana Leontovich4453dd62018-06-26 18:44:31 +030027
28{{SHARED.MACRO_CHECK_SALT_VERSION_SERVICES_ON_CFG()}}
29
30{{SHARED.MACRO_CHECK_SALT_VERSION_ON_NODES()}}