blob: 353009ab46ecb9cd0b833c497768f54fd45d71e9 [file] [log] [blame]
Ales Komarekc12dd412017-06-27 16:24:42 +02001classes:
2- service.git.client
3- system.linux.system.single
4- system.linux.system.repo.mcp.salt
5- system.openssh.client.lab
6- system.salt.master.api
7- system.salt.master.pkg
8- system.reclass.storage.salt
9- system.salt.minion.ca.salt_master
10- system.salt.minion.cert.proxy
11- system.sphinx.server.doc.reclass
Petr Jediný3114a392017-08-02 15:21:09 +020012- system.keystone.client.core
13- system.keystone.client.service.aodh
Ales Komarekc12dd412017-06-27 16:24:42 +020014- system.keystone.client.service.ceilometer
Petr Jediný3114a392017-08-02 15:21:09 +020015- system.keystone.client.service.designate
16- system.keystone.client.service.cinder
17- system.keystone.client.service.cinder2
Ales Komarekc12dd412017-06-27 16:24:42 +020018- system.keystone.client.service.cinder3
Petr Jediný3114a392017-08-02 15:21:09 +020019- system.keystone.client.service.glance
20- system.keystone.client.service.glare
21- system.keystone.client.service.heat
22- system.keystone.client.service.heat-cfn
23- system.keystone.client.service.keystone
24- system.keystone.client.service.neutron
25- system.keystone.client.service.nova-ec2
26- system.keystone.client.service.nova21
27- system.keystone.client.service.nova-placement
Jiri Broulikf212d212017-07-21 11:09:00 +020028- system.reclass.storage.system.openstack_control_single
Ales Komarekc12dd412017-06-27 16:24:42 +020029- cluster.os_aio_ovs.openstack.proxy
30- cluster.os_aio_ovs
31parameters:
32 _param:
33 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
34 reclass_data_revision: master
35 salt_master_environment_repository: "https://github.com/tcpcloud"
36 salt_master_environment_revision: master
Adam Tengler81526202017-07-11 13:03:40 +000037 reclass_config_master: ${_param:infra_config_deploy_address}
38 single_address: ${_param:infra_config_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020039 salt_master_host: 127.0.0.1
40 salt_master_base_environment: prd
41 salt_minion_ca_host: ${linux:network:fqdn}
42 salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
43 linux:
44 network:
45 interface:
46 ens4:
47 enabled: true
48 type: eth
49 proto: static
50 address: ${_param:single_address}
51 netmask: 255.255.255.0
52 nginx:
53 server:
54 site:
55 nginx_proxy_openstack_web:
56 proxy:
Jiri Broulikabd4e382017-07-21 17:24:22 +020057 host: ${_param:openstack_control_address}
Ales Komarekc12dd412017-06-27 16:24:42 +020058 nginx_proxy_openstack_api_heat_cfn:
59 enabled: false
Jiri Broulikf212d212017-07-21 11:09:00 +020060 salt:
61 master:
62 reactor:
63 reclass/minion/classify:
64 - salt://reclass/reactor/node_register.sls
Ales Komarekc12dd412017-06-27 16:24:42 +020065 reclass:
66 storage:
Jiri Broulikf212d212017-07-21 11:09:00 +020067 class_mapping:
68 common_node:
69 expression: all
70 node_param:
71 single_address:
72 value_template: <<node_control_ip>>
73 linux_system_codename:
74 value_template: <<node_os>>
75 salt_master_host:
76 value_template: <<node_master_ip>>
77 infra_config:
78 expression: <<node_hostname>>__startswith__cfg
79 cluster_param:
80 infra_config_address:
81 value_template: <<node_control_ip>>
82 infra_config_deploy_address:
83 value_template: <<node_deploy_ip>>
84 cluster_domain:
85 value_template: <<node_domain>>
86 openstack_control01:
87 expression: <<node_hostname>>__equals__ctl01
88 cluster_param:
89 openstack_control_node01_address:
90 value_template: <<node_control_ip>>
91 openstack_compute:
92 expression: <<node_hostname>>__startswith__cmp
93 node_class:
94 value_template:
95 - cluster.<<node_cluster>>.openstack.compute
96 node_param:
97 tenant_address:
98 value_template: <<node_tenant_ip>>
99 external_address:
100 value_template: <<node_external_ip>>
101 openstack_gateway:
102 expression: <<node_hostname>>__startswith__gtw
103 node_class:
104 value_template:
105 - cluster.<<node_cluster>>.openstack.gateway
106 node_param:
107 tenant_address:
108 value_template: <<node_tenant_ip>>
109 external_address:
110 value_template: <<node_external_ip>>
111 cluster_param:
112 openstack_gateway_node01_address:
113 value_template: <<node_control_ip>>
Jiri Broulikabd4e382017-07-21 17:24:22 +0200114 # node:
115 # openstack_control_node01:
116 # params:
117 # mysql_cluster_role: master
Jiri Broulikf212d212017-07-21 11:09:00 +0200118
119
120 # nginx:
121 # server:
122 # site:
123 # nginx_proxy_openstack_web:
124 # proxy:
125 # host: prx
126 # nginx_proxy_openstack_api_heat_cfn:
127 # enabled: false
128 # reclass:
129 # storage:
130 # node:
131 # openstack_control_node01:
132 # classes:
133 # - service.galera.master.cluster
134 # params:
135 # mysql_cluster_role: master
136 # linux_system_codename: xenial
137 # openstack_control_node02:
138 # classes:
139 # - service.galera.slave.cluster
140 # params:
141 # mysql_cluster_role: slave
142 # linux_system_codename: xenial
143 # openstack_control_node03:
144 # classes:
145 # - service.galera.slave.cluster
146 # params:
147 # mysql_cluster_role: slave
148 # linux_system_codename: xenial
149 # openstack_compute_node01:
150 # params:
151 # single_address: 172.16.10.105
152 # tenant_address: 10.1.0.105
153 # external_address: 10.16.0.105
154 # openstack_compute_node02:
155 # params:
156 # single_address: 172.16.10.106
157 # tenant_address: 10.1.0.106
158 # external_address: 10.16.0.106
159 # openstack_gateway_node01:
160 # params:
161 # tenant_address: 10.1.0.110
162 # external_address: 10.16.0.110
163 # openstack_proxy_node01:
164 # classes:
165 # - cluster.os_aio_ovs.openstack.proxy
166 # params:
167 # linux_system_codename: xenial
168