blob: d67f7ac0aa43155ff8edb8089d6c3be3f49e2d78 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
2- service.git.client
3- system.linux.system.single
Martin Polreicha0addcc2018-06-25 11:32:52 +02004- system.linux.system.repo.mcp.apt_mirantis.saltstack
Jan Cach4446e412017-09-21 11:30:54 +02005- system.linux.system.repo.mcp.openstack
Ales Komarekc12dd412017-06-27 16:24:42 +02006- system.openssh.client.lab
Ales Komarekc12dd412017-06-27 16:24:42 +02007- system.salt.master.pkg
Dennis Dmitriev6635bfd2018-03-20 04:50:12 +02008- system.salt.master.api
Ales Komarekc12dd412017-06-27 16:24:42 +02009- system.reclass.storage.salt
10- system.salt.minion.ca.salt_master
11- system.salt.minion.cert.proxy
12- system.sphinx.server.doc.reclass
Petr Jediný3114a392017-08-02 15:21:09 +020013- system.keystone.client.core
Ales Komarekc12dd412017-06-27 16:24:42 +020014- system.keystone.client.service.aodh
15- system.keystone.client.service.ceilometer
Petr Jediný3114a392017-08-02 15:21:09 +020016#- system.keystone.client.service.designate
17- system.keystone.client.service.cinder
18- system.keystone.client.service.cinder2
Ales Komarekc12dd412017-06-27 16:24:42 +020019- system.keystone.client.service.cinder3
Petr Jediný3114a392017-08-02 15:21:09 +020020- system.keystone.client.service.glance
21- system.keystone.client.service.glare
22- system.keystone.client.service.heat
23- system.keystone.client.service.heat-cfn
24- system.keystone.client.service.keystone
25- system.keystone.client.service.neutron
26- system.keystone.client.service.nova-ec2
27- system.keystone.client.service.nova21
28- system.keystone.client.service.nova-placement
Jiri Broulikabd4e382017-07-21 17:24:22 +020029#- system.mysql.client.single
30- system.reclass.storage.system.openstack_control_single
Ales Komarekc12dd412017-06-27 16:24:42 +020031- system.reclass.storage.system.opencontrail_control_cluster
Petr Michalecf05e3ea2017-08-21 17:33:16 +020032- cluster.os-aio-contrail.openstack.proxy
33- cluster.os-aio-contrail
Ales Komarekc12dd412017-06-27 16:24:42 +020034parameters:
35 _param:
36 reclass_data_repository: "https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab"
37 reclass_data_revision: master
Adam Tengler81526202017-07-11 13:03:40 +000038 reclass_config_master: ${_param:infra_config_deploy_address}
39 single_address: ${_param:infra_config_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020040 salt_master_host: 127.0.0.1
41 salt_master_base_environment: prd
42 salt_minion_ca_host: ${linux:network:fqdn}
43 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
44 linux:
45 network:
46 interface:
47 ens4:
48 enabled: true
49 type: eth
50 proto: static
51 address: ${_param:single_address}
52 netmask: 255.255.255.0
53 nginx:
54 server:
55 site:
56 nginx_proxy_openstack_web:
57 proxy:
Jan Cach4446e412017-09-21 11:30:54 +020058 host: ${_param:infra_config_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020059 nginx_proxy_openstack_api_heat_cfn:
60 enabled: false
Jiri Broulikabd4e382017-07-21 17:24:22 +020061 salt:
62 master:
63 reactor:
64 reclass/minion/classify:
65 - salt://reclass/reactor/node_register.sls
Ales Komarekc12dd412017-06-27 16:24:42 +020066 reclass:
67 storage:
Jiri Broulikabd4e382017-07-21 17:24:22 +020068 class_mapping:
69 common_node:
70 expression: all
71 node_param:
72 single_address:
73 value_template: <<node_control_ip>>
74 linux_system_codename:
75 value_template: <<node_os>>
76 salt_master_host:
77 value_template: <<node_master_ip>>
78 infra_config:
79 expression: <<node_hostname>>__startswith__cfg
80 cluster_param:
81 infra_config_address:
82 value_template: <<node_control_ip>>
83 infra_config_deploy_address:
84 value_template: <<node_deploy_ip>>
85 cluster_domain:
86 value_template: <<node_domain>>
87 openstack_control01:
88 expression: <<node_hostname>>__equals__ctl01
89 cluster_param:
90 openstack_control_node01_address:
91 value_template: <<node_control_ip>>
92 opencontrail_control01:
93 expression: <<node_hostname>>__equals__ntw01
94 cluster_param:
95 opencontrail_control_node01_address:
96 value_template: <<node_control_ip>>
97 opencontrail_control02:
98 expression: <<node_hostname>>__equals__ntw02
99 cluster_param:
100 opencontrail_control_node02_address:
101 value_template: <<node_control_ip>>
102 opencontrail_control03:
103 expression: <<node_hostname>>__equals__ntw03
104 cluster_param:
105 opencontrail_control_node03_address:
106 value_template: <<node_control_ip>>
107 openstack_compute:
108 expression: <<node_hostname>>__startswith__cmp
109 node_class:
110 value_template:
111 - cluster.<<node_cluster>>.openstack.compute
112 node_param:
113 tenant_address:
114 value_template: <<node_tenant_ip>>
115 external_address:
116 value_template: <<node_external_ip>>