blob: 052176509bd2c6bdd28c1a518ee79c2b36d969b9 [file] [log] [blame]
Illia Polliul2a2b6d12017-05-29 17:05:11 +02001{% from 'virtual-mcp10-contrail/underlay.yaml' import HOSTNAME_CFG01 with context %}
Dennis Dmitriev5ec4d572017-09-27 00:47:54 +03002{% from 'virtual-mcp10-contrail/underlay.yaml' import LAB_CONFIG_NAME with context %}
3{% from 'virtual-mcp10-contrail/underlay.yaml' import DOMAIN_NAME with context %}
Illia Polliul2a2b6d12017-05-29 17:05:11 +02004
5{% 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 +02006# Other salt model repository parameters see in shared-salt.yaml
Illia Polliul2a2b6d12017-05-29 17:05:11 +02007
Sergii Golovatiuk50f91892017-08-04 18:11:06 +02008{% import 'shared-salt.yaml' as SHARED with context %}
Illia Polliul2a2b6d12017-05-29 17:05:11 +02009
Dennis Dmitriev492813e2017-08-09 15:08:58 +030010{{ SHARED.MACRO_INSTALL_SALT_MASTER() }}
Illia Polliul2a2b6d12017-05-29 17:05:11 +020011
Dennis Dmitriev492813e2017-08-09 15:08:58 +030012{{ SHARED.MACRO_CLONE_RECLASS_MODELS(IS_CONTRAIL_LAB=true) }}
Illia Polliul2a2b6d12017-05-29 17:05:11 +020013
Dennis Dmitriev492813e2017-08-09 15:08:58 +030014{{ 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"') }}
Illia Polliul2a2b6d12017-05-29 17:05:11 +020015
Dennis Dmitriev492813e2017-08-09 15:08:58 +030016{{ SHARED.MACRO_INSTALL_SALT_MINIONS() }}
Illia Polliul2a2b6d12017-05-29 17:05:11 +020017
Dennis Dmitriev492813e2017-08-09 15:08:58 +030018{{ SHARED.MACRO_RUN_SALT_MASTER_UNDERLAY_STATES() }}
Illia Polliul2a2b6d12017-05-29 17:05:11 +020019
Dennis Dmitriev492813e2017-08-09 15:08:58 +030020{{ SHARED.MACRO_GENERATE_INVENTORY() }}
Illia Polliul2a2b6d12017-05-29 17:05:11 +020021
Dennis Dmitriev492813e2017-08-09 15:08:58 +030022{{ SHARED.MACRO_BOOTSTRAP_ALL_MINIONS() }}