blob: 28523601811faf4f2750277d3fbbd9850a022805 [file] [log] [blame]
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +03001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
Elena Ezhovaf42731a2017-07-27 17:13:48 +04005- system.linux.system.repo.mcp.openstack
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +03006- system.openssh.client.lab
7- system.salt.master.api
8- system.salt.master.pkg
9- system.reclass.storage.salt
10- system.salt.minion.ca.salt_master
11- system.salt.minion.cert.proxy
12- system.sphinx.server.doc.reclass
13- system.keystone.client.single
Tatyana Leontovich81b32a92017-07-20 16:24:23 +030014- system.keystone.client.service.aodh
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030015- system.keystone.client.service.ceilometer
16- system.keystone.client.service.nova21
Tatyana Leontovichf4fef592017-04-26 21:10:33 +030017- system.keystone.client.service.nova-placement
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030018- system.keystone.client.service.glare
19- system.keystone.client.service.cinder3
Mykyta Karpin7bdd53f2017-06-07 18:09:08 +030020- system.keystone.client.service.designate
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030021- system.mysql.client.single
22- system.reclass.storage.system.openstack_control_cluster
Tatyana Leontovich81b32a92017-07-20 16:24:23 +030023- system.reclass.storage.system.stacklightv2_server_cluster
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030024- cluster.virtual-mcp-ocata-dvr.openstack.proxy
25- cluster.virtual-mcp-ocata-dvr.stacklight.proxy
26- cluster.virtual-mcp-ocata-dvr
27parameters:
28 _param:
29 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
30 reclass_data_revision: master
31 salt_master_environment_repository: "https://github.com/tcpcloud"
32 salt_master_environment_revision: master
33 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
34 reclass_config_master: 192.168.10.100
35 single_address: 172.16.10.100
36 salt_master_host: 127.0.0.1
37 salt_master_base_environment: prd
38 salt_minion_ca_host: ${linux:network:fqdn}
39 linux:
40 network:
41 interface:
42 ens4:
43 enabled: true
44 type: eth
Petr Jediný9b3a0ed2017-04-13 15:12:09 +020045 proto: static
46 address: ${_param:single_address}
47 netmask: 255.255.255.0
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030048 nginx:
49 server:
50 site:
51 nginx_proxy_openstack_web:
52 proxy:
53 host: prx
54 nginx_proxy_openstack_api_heat_cfn:
55 enabled: false
Jiri Broulik432ae9c2017-08-17 10:24:23 +020056 salt:
57 master:
58 reactor:
59 reclass/minion/classify:
60 - salt://reclass/reactor/node_register.sls
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +030061 reclass:
62 storage:
Jiri Broulik432ae9c2017-08-17 10:24:23 +020063 class_mapping:
64 common_node:
65 expression: all
66 node_param:
67 single_address:
68 value_template: <<node_control_ip>>
69 linux_system_codename:
70 value_template: <<node_os>>
71 salt_master_host:
72 value_template: <<node_master_ip>>
73 infra_config:
74 expression: <<node_hostname>>__startswith__cfg
75 cluster_param:
76 infra_config_address:
77 value_template: <<node_control_ip>>
78 infra_config_deploy_address:
79 value_template: <<node_deploy_ip>>
80 cluster_domain:
81 value_template: <<node_domain>>
82 openstack_control01:
83 expression: <<node_hostname>>__equals__ctl01
84 cluster_param:
85 openstack_control_node01_address:
86 value_template: <<node_control_ip>>
87 openstack_control02:
88 expression: <<node_hostname>>__equals__ctl02
89 cluster_param:
90 openstack_control_node02_address:
91 value_template: <<node_control_ip>>
92 openstack_control03:
93 expression: <<node_hostname>>__equals__ctl03
94 cluster_param:
95 openstack_control_node03_address:
96 value_template: <<node_control_ip>>
97 openstack_compute:
98 expression: <<node_hostname>>__startswith__cmp
99 node_class:
100 value_template:
101 - cluster.<<node_cluster>>.openstack.compute
102 node_param:
103 tenant_address:
104 value_template: <<node_tenant_ip>>
105 external_address:
106 value_template: <<node_external_ip>>
107 openstack_gateway:
108 expression: <<node_hostname>>__startswith__gtw
109 node_class:
110 value_template:
111 - cluster.<<node_cluster>>.openstack.gateway
112 node_param:
113 tenant_address:
114 value_template: <<node_tenant_ip>>
115 external_address:
116 value_template: <<node_external_ip>>
117 cluster_param:
118 openstack_gateway_node01_address:
119 value_template: <<node_control_ip>>
120 stacklight_monitor_node01:
121 expression: <<node_hostname>>__equals__mon01
122 cluster_param:
123 stacklight_monitor_node03_address:
124 value_template: <<node_control_ip>>
125 stacklight_monitor_node02:
126 expression: <<node_hostname>>__equals__mon02
127 cluster_param:
128 stacklight_monitor_node03_address:
129 value_template: <<node_control_ip>>
130 stacklight_monitor_node03:
131 expression: <<node_hostname>>__equals__mon03
132 cluster_param:
133 stacklight_monitor_node03_address:
134 value_template: <<node_control_ip>>
135 openstack_dashboard:
136 expression: <<node_hostname>>__startswith__prx
137 node_class:
138 value_template:
139 - cluster.<<node_cluster>>.openstack.dashboard
140 - cluster.<<node_cluster>>.openstack.proxy
141 cluster_param:
142 openstack_proxy_node01_address:
143 value_template: <<node_control_ip>>
Tatyana Leontovich3ca999a2017-04-11 12:52:19 +0300144 node:
145 openstack_control_node01:
146 classes:
147 - service.galera.master.cluster
148 params:
149 mysql_cluster_role: master
150 linux_system_codename: xenial
151 openstack_control_node02:
152 classes:
153 - service.galera.slave.cluster
154 params:
155 mysql_cluster_role: slave
156 linux_system_codename: xenial
157 openstack_control_node03:
158 classes:
159 - service.galera.slave.cluster
160 params:
161 mysql_cluster_role: slave
162 linux_system_codename: xenial
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200163 stacklight_server_node01:
Tatyana Leontovich3d9baab2017-04-12 15:43:39 +0300164 classes:
Jiri Broulik432ae9c2017-08-17 10:24:23 +0200165 - system.influxdb.server.single
166 - system.influxdb.database.stacklight