blob: 9b0fc425525083badb3594e0a7c679c01b7b0e52 [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
14- system.keystone.client.service.aodh
Ales Komarekc12dd412017-06-27 16:24:42 +020015- 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 Broulikf212d212017-07-21 11:09:00 +020029- system.reclass.storage.system.openstack_control_single
Petr Michalecf05e3ea2017-08-21 17:33:16 +020030- cluster.os-aio-ovs.openstack.proxy
31- cluster.os-aio-ovs
Ales Komarekc12dd412017-06-27 16:24:42 +020032parameters:
33 _param:
34 reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
35 reclass_data_revision: master
36 salt_master_environment_repository: "https://github.com/tcpcloud"
37 salt_master_environment_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 Broulikf212d212017-07-21 11:09:00 +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 Broulikf212d212017-07-21 11:09:00 +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 openstack_compute:
93 expression: <<node_hostname>>__startswith__cmp
94 node_class:
95 value_template:
96 - cluster.<<node_cluster>>.openstack.compute
97 node_param:
98 tenant_address:
99 value_template: <<node_tenant_ip>>
100 external_address:
101 value_template: <<node_external_ip>>
102 openstack_gateway:
103 expression: <<node_hostname>>__startswith__gtw
104 node_class:
105 value_template:
106 - cluster.<<node_cluster>>.openstack.gateway
107 node_param:
108 tenant_address:
109 value_template: <<node_tenant_ip>>
110 external_address:
111 value_template: <<node_external_ip>>
112 cluster_param:
113 openstack_gateway_node01_address:
114 value_template: <<node_control_ip>>
Jiri Broulikabd4e382017-07-21 17:24:22 +0200115 # node:
116 # openstack_control_node01:
117 # params:
118 # mysql_cluster_role: master
Jiri Broulikf212d212017-07-21 11:09:00 +0200119
120
121 # nginx:
122 # server:
123 # site:
124 # nginx_proxy_openstack_web:
125 # proxy:
126 # host: prx
127 # nginx_proxy_openstack_api_heat_cfn:
128 # enabled: false
129 # reclass:
130 # storage:
131 # node:
132 # openstack_control_node01:
133 # classes:
134 # - service.galera.master.cluster
135 # params:
136 # mysql_cluster_role: master
137 # linux_system_codename: xenial
138 # openstack_control_node02:
139 # classes:
140 # - service.galera.slave.cluster
141 # params:
142 # mysql_cluster_role: slave
143 # linux_system_codename: xenial
144 # openstack_control_node03:
145 # classes:
146 # - service.galera.slave.cluster
147 # params:
148 # mysql_cluster_role: slave
149 # linux_system_codename: xenial
150 # openstack_compute_node01:
151 # params:
152 # single_address: 172.16.10.105
153 # tenant_address: 10.1.0.105
154 # external_address: 10.16.0.105
155 # openstack_compute_node02:
156 # params:
157 # single_address: 172.16.10.106
158 # tenant_address: 10.1.0.106
159 # external_address: 10.16.0.106
160 # openstack_gateway_node01:
161 # params:
162 # tenant_address: 10.1.0.110
163 # external_address: 10.16.0.110
164 # openstack_proxy_node01:
165 # classes:
Petr Michalecf05e3ea2017-08-21 17:33:16 +0200166 # - cluster.os-aio-ovs.openstack.proxy
Jiri Broulikf212d212017-07-21 11:09:00 +0200167 # params:
168 # linux_system_codename: xenial
169