blob: af8703202a1ac02a8286396ff60ea151092f17cf [file] [log] [blame]
Artem Panchenkoedf70ef2017-06-13 09:14:34 +03001{% from 'virtual-mcp11-k8s-calico-minimal/underlay.yaml' import HOSTNAME_CFG01 with context %}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +03002
3{% set SALT_MODELS_REPOSITORY = os_env('SALT_MODELS_REPOSITORY','https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab') %}
Sergii Golovatiuk50f91892017-08-04 18:11:06 +02004# Other salt model repository parameters see in shared-salt.yaml
Artem Panchenkoedf70ef2017-06-13 09:14:34 +03005
Sergii Golovatiuk50f91892017-08-04 18:11:06 +02006{% import 'shared-salt.yaml' as SHARED with context %}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +03007
Dennis Dmitriev492813e2017-08-09 15:08:58 +03008{{ SHARED.MACRO_INSTALL_SALT_MASTER() }}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +03009
Dennis Dmitriev492813e2017-08-09 15:08:58 +030010{{ SHARED.MACRO_CLONE_RECLASS_MODELS() }}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +030011
Dennis Dmitriev492813e2017-08-09 15:08:58 +030012{{ 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"') }}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +030013
Dennis Dmitriev492813e2017-08-09 15:08:58 +030014{{ SHARED.MACRO_INSTALL_SALT_MINIONS() }}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +030015
Dennis Dmitriev492813e2017-08-09 15:08:58 +030016{{ SHARED.MACRO_RUN_SALT_MASTER_UNDERLAY_STATES() }}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +030017
Dennis Dmitriev492813e2017-08-09 15:08:58 +030018{{ SHARED.MACRO_GENERATE_INVENTORY() }}
Artem Panchenkoedf70ef2017-06-13 09:14:34 +030019
Dennis Dmitriev492813e2017-08-09 15:08:58 +030020{{ SHARED.MACRO_BOOTSTRAP_ALL_MINIONS() }}