blob: 6867e3a9129b8bdd04734e6c062d0813c926a159 [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
Oleksii Grudev6d16a452018-10-31 12:00:37 +020020 openstack_control_backend_image: ${_param:salt_control_xenial_image_backend}
21 openstack_database_backend_image: ${_param:salt_control_xenial_image_backend}
22 openstack_message_queue_backend_image: ${_param:salt_control_xenial_image_backend}
23 openstack_proxy_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +020024 salt_control_cluster_node_cloud_init_openstack_control:
25 user_data:
26 write_files:
27 - content: |
28 ${salt:control:size:openstack.control:image_layout}
29 owner: root:root
30 path: /usr/share/growlvm/image-layout.yml
31 salt_control_cluster_node_cloud_init_openstack_database:
32 user_data:
33 write_files:
34 - content: |
35 ${salt:control:size:openstack.database:image_layout}
36 owner: root:root
37 path: /usr/share/growlvm/image-layout.yml
38 salt_control_cluster_node_cloud_init_openstack_message_queue:
39 user_data:
40 write_files:
41 - content: |
42 ${salt:control:size:openstack.message_queue:image_layout}
43 owner: root:root
44 path: /usr/share/growlvm/image-layout.yml
45 salt_control_cluster_node_cloud_init_openstack_proxy:
46 user_data:
47 write_files:
48 - content: |
49 ${salt:control:size:openstack.proxy:image_layout}
50 owner: root:root
51 path: /usr/share/growlvm/image-layout.yml
Pavel Cizinsky1204f992018-07-10 14:47:58 +020052 salt:
53 control:
54 cluster:
55 internal:
56 node:
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020057 ctl01:
58 name: ${_param:openstack_control_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020059 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020060 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020061 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
62 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020063 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020064 ctl02:
65 name: ${_param:openstack_control_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020066 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020067 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020068 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
69 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020070 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020071 ctl03:
72 name: ${_param:openstack_control_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020073 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020074 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020075 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
76 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020077 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020078 dbs01:
79 name: ${_param:openstack_database_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_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020082 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
83 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +020084 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020085 dbs02:
86 name: ${_param:openstack_database_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_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020089 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
90 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +020091 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020092 dbs03:
93 name: ${_param:openstack_database_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_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020096 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
97 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +020098 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020099 msg01:
100 name: ${_param:openstack_message_queue_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_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200103 provider: ${_param:infra_kvm_node04_hostname}.${_param:cluster_domain}
104 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200105 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200106 msg02:
107 name: ${_param:openstack_message_queue_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_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200110 provider: ${_param:infra_kvm_node05_hostname}.${_param:cluster_domain}
111 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200112 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200113 msg03:
114 name: ${_param:openstack_message_queue_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_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200117 provider: ${_param:infra_kvm_node06_hostname}.${_param:cluster_domain}
118 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200119 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200120 prx01:
121 name: ${_param:openstack_proxy_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_proxy_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200124 provider: ${_param:infra_kvm_node04_hostname}.${_param:cluster_domain}
125 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200126 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200127 prx02:
128 name: ${_param:openstack_proxy_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_proxy_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200131 provider: ${_param:infra_kvm_node05_hostname}.${_param:cluster_domain}
132 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200133 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}