blob: ec059916fc60d0dce827c63179b117246b7ea33a [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 openstack_control_node01_hostname: ctl01
7 openstack_control_node02_hostname: ctl02
8 openstack_control_node03_hostname: ctl03
9 openstack_database_node01_hostname: dbs01
10 openstack_database_node02_hostname: dbs02
11 openstack_database_node03_hostname: dbs03
12 openstack_message_queue_node01_hostname: msg01
13 openstack_message_queue_node02_hostname: msg02
14 openstack_message_queue_node03_hostname: msg03
15 openstack_proxy_node01_hostname: prx01
16 openstack_proxy_node02_hostname: prx02
Oleksii Grudev6d16a452018-10-31 12:00:37 +020017 openstack_control_backend_image: ${_param:salt_control_xenial_image_backend}
18 openstack_database_backend_image: ${_param:salt_control_xenial_image_backend}
19 openstack_message_queue_backend_image: ${_param:salt_control_xenial_image_backend}
20 openstack_proxy_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +020021 salt_control_cluster_node_cloud_init_openstack_control:
22 user_data:
23 write_files:
24 - content: |
25 ${salt:control:size:openstack.control:image_layout}
26 owner: root:root
27 path: /usr/share/growlvm/image-layout.yml
28 salt_control_cluster_node_cloud_init_openstack_database:
29 user_data:
30 write_files:
31 - content: |
32 ${salt:control:size:openstack.database:image_layout}
33 owner: root:root
34 path: /usr/share/growlvm/image-layout.yml
35 salt_control_cluster_node_cloud_init_openstack_message_queue:
36 user_data:
37 write_files:
38 - content: |
39 ${salt:control:size:openstack.message_queue:image_layout}
40 owner: root:root
41 path: /usr/share/growlvm/image-layout.yml
42 salt_control_cluster_node_cloud_init_openstack_proxy:
43 user_data:
44 write_files:
45 - content: |
46 ${salt:control:size:openstack.proxy:image_layout}
47 owner: root:root
48 path: /usr/share/growlvm/image-layout.yml
Pavel Cizinsky1204f992018-07-10 14:47:58 +020049 salt:
50 control:
51 cluster:
52 internal:
53 node:
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020054 ctl01:
55 name: ${_param:openstack_control_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020056 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020057 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020058 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
59 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020060 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020061 ctl02:
62 name: ${_param:openstack_control_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020063 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020064 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020065 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
66 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020067 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020068 ctl03:
69 name: ${_param:openstack_control_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020070 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020071 backend: ${_param:openstack_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020072 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
73 size: openstack.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020074 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020075 dbs01:
76 name: ${_param:openstack_database_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020077 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020078 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020079 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
80 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +020081 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020082 dbs02:
83 name: ${_param:openstack_database_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020084 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020085 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020086 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
87 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +020088 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020089 dbs03:
90 name: ${_param:openstack_database_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020091 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020092 backend: ${_param:openstack_database_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020093 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
94 size: openstack.database
Vasyl Saienko55d31c32018-11-29 15:46:35 +020095 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020096 msg01:
97 name: ${_param:openstack_message_queue_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020098 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020099 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200100 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
101 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200102 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200103 msg02:
104 name: ${_param:openstack_message_queue_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200105 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200106 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200107 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
108 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200109 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200110 msg03:
111 name: ${_param:openstack_message_queue_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200112 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200113 backend: ${_param:openstack_message_queue_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200114 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
115 size: openstack.message_queue
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200116 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_message_queue}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200117 prx01:
118 name: ${_param:openstack_proxy_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200119 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200120 backend: ${_param:openstack_proxy_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200121 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
122 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200123 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +0200124 prx02:
125 name: ${_param:openstack_proxy_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200126 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +0200127 backend: ${_param:openstack_proxy_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +0200128 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
129 size: openstack.proxy
Vasyl Saienko55d31c32018-11-29 15:46:35 +0200130 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_proxy}