blob: d2a85077169ece93525a732a20f8d3a8c172c8e9 [file] [log] [blame]
Pavel Cizinsky1204f992018-07-10 14:47:58 +02001parameters:
2 _param:
3 infra_kvm01_hostname: kvm01
4 infra_kvm02_hostname: kvm02
5 infra_kvm03_hostname: kvm03
6 infra_kvm04_hostname: kvm04
7 infra_kvm05_hostname: kvm05
8 infra_kvm06_hostname: kvm06
9 openstack_control_node01_hostname: ctl01
10 openstack_control_node02_hostname: ctl02
11 openstack_control_node03_hostname: ctl03
12 openstack_database_node01_hostname: dbs01
13 openstack_database_node02_hostname: dbs02
14 openstack_database_node03_hostname: dbs03
15 openstack_message_queue_node01_hostname: msg01
16 openstack_message_queue_node02_hostname: msg02
17 openstack_message_queue_node03_hostname: msg03
18 openstack_proxy_node01_hostname: prx01
19 openstack_proxy_node02_hostname: prx02
Pavel Cizinsky39349722019-05-27 13:29:45 +020020 openstack_dns_node01_hostname: dns01
21 openstack_dns_node02_hostname: dns02
22 openstack_barbican_node01_hostname: kmn01
23 openstack_barbican_node02_hostname: kmn02
24 openstack_barbican_node03_hostname: kmn03
Oleksii Grudev6d16a452018-10-31 12:00:37 +020025 openstack_control_backend_image: ${_param:salt_control_xenial_image_backend}
26 openstack_database_backend_image: ${_param:salt_control_xenial_image_backend}
27 openstack_message_queue_backend_image: ${_param:salt_control_xenial_image_backend}
28 openstack_proxy_backend_image: ${_param:salt_control_xenial_image_backend}
Pavel Cizinsky39349722019-05-27 13:29:45 +020029 openstack_barbican_backend_image: ${_param:salt_control_xenial_image_backend}
30 openstack_dns_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +020031 salt_control_cluster_node_cloud_init_openstack_control:
32 user_data:
33 write_files:
34 - content: |
35 ${salt:control:size:openstack.control:image_layout}
36 owner: root:root
37 path: /usr/share/growlvm/image-layout.yml
38 salt_control_cluster_node_cloud_init_openstack_database:
39 user_data:
40 write_files:
41 - content: |
42 ${salt:control:size:openstack.database:image_layout}
43 owner: root:root
44 path: /usr/share/growlvm/image-layout.yml
45 salt_control_cluster_node_cloud_init_openstack_message_queue:
46 user_data:
47 write_files:
48 - content: |
49 ${salt:control:size:openstack.message_queue:image_layout}
50 owner: root:root
51 path: /usr/share/growlvm/image-layout.yml
52 salt_control_cluster_node_cloud_init_openstack_proxy:
53 user_data:
54 write_files:
55 - content: |
56 ${salt:control:size:openstack.proxy:image_layout}
57 owner: root:root
58 path: /usr/share/growlvm/image-layout.yml
Pavel Cizinsky39349722019-05-27 13:29:45 +020059 salt_control_cluster_node_cloud_init_openstack_dns:
60 user_data:
61 write_files:
62 - content: |
63 ${salt:control:size:openstack.dns:image_layout}
64 owner: root:root
65 path: /usr/share/growlvm/image-layout.yml
66 salt_control_cluster_node_cloud_init_openstack_barbican:
67 user_data:
68 write_files:
69 - content: |
70 ${salt:control:size:openstack.barbican:image_layout}
71 owner: root:root
72 path: /usr/share/growlvm/image-layout.yml
Pavel Cizinsky1204f992018-07-10 14:47:58 +020073 salt:
74 control:
75 cluster:
76 internal:
77 node:
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020078 ctl01:
79 name: ${_param:openstack_control_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020080 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020081 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020082 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
83 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020084 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020085 ctl02:
86 name: ${_param:openstack_control_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020087 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020088 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020089 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
90 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020091 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020092 ctl03:
93 name: ${_param:openstack_control_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020094 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020095 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020096 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
97 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020098 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020099 dbs01:
100 name: ${_param:openstack_database_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200101 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200102 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200103 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
104 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200105 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200106 dbs02:
107 name: ${_param:openstack_database_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200108 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200109 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200110 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
111 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200112 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200113 dbs03:
114 name: ${_param:openstack_database_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200115 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200116 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200117 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
118 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200119 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200120 msg01:
121 name: ${_param:openstack_message_queue_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200122 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200123 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky39349722019-05-27 13:29:45 +0200124 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200125 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200126 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200127 msg02:
128 name: ${_param:openstack_message_queue_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200129 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200130 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky39349722019-05-27 13:29:45 +0200131 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200132 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200133 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200134 msg03:
135 name: ${_param:openstack_message_queue_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200136 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200137 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky39349722019-05-27 13:29:45 +0200138 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200139 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200140 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200141 prx01:
142 name: ${_param:openstack_proxy_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200143 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200144 backend: ${_param:openstack_proxy_backend_image}
Pavel Cizinsky39349722019-05-27 13:29:45 +0200145 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200146 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200147 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200148 prx02:
149 name: ${_param:openstack_proxy_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200150 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200151 backend: ${_param:openstack_proxy_backend_image}
Pavel Cizinsky39349722019-05-27 13:29:45 +0200152 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200153 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200154 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}
Pavel Cizinsky39349722019-05-27 13:29:45 +0200155 dns01:
156 name: ${_param:openstack_dns_node01_hostname}
157 image: ${_param:salt_control_xenial_image}
158 backend: ${_param:openstack_dns_backend_image}
159 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
160 size: openstack.dns
161 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_dns}
162 dns02:
163 name: ${_param:openstack_dns_node02_hostname}
164 image: ${_param:salt_control_xenial_image}
165 backend: ${_param:openstack_dns_backend_image}
166 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
167 size: openstack.dns
168 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_dns}
169 kmn01:
170 name: ${_param:openstack_barbican_node01_hostname}
171 image: ${_param:salt_control_xenial_image}
172 backend: ${_param:openstack_barbican_backend_image}
173 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
174 size: openstack.barbican
175 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_barbican}
176 kmn02:
177 name: ${_param:openstack_barbican_node02_hostname}
178 image: ${_param:salt_control_xenial_image}
179 backend: ${_param:openstack_barbican_backend_image}
180 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
181 size: openstack.barbican
182 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_barbican}
183 kmn03:
184 name: ${_param:openstack_barbican_node03_hostname}
185 image: ${_param:salt_control_xenial_image}
186 backend: ${_param:openstack_barbican_backend_image}
187 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
188 size: openstack.barbican
189 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_barbican}