blob: 78ee267e4db7d92accdb840fb4a1916dcc95d7e0 [file] [log] [blame]
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +02001parameters:
2 _param:
3 infra_kvm01_hostname: kvm01
4 infra_kvm02_hostname: kvm02
5 infra_kvm03_hostname: kvm03
6 openstack_gateway_node01_hostname: gtw01
7 openstack_gateway_node02_hostname: gtw02
8 openstack_gateway_node03_hostname: gtw03
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02009 openstack_gateway_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +020010 salt_control_cluster_node_cloud_init_openstack_gateway:
11 user_data:
12 write_files:
13 - content: |
14 ${salt:control:size:openstack.gateway:image_layout}
15 owner: root:root
16 path: /usr/share/growlvm/image-layout.yml
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +020017 salt:
18 control:
19 cluster:
20 internal:
21 node:
22 gtw01:
23 name: ${_param:openstack_gateway_node01_hostname}
24 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020025 backend: ${_param:openstack_gateway_backend_image}
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +020026 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
27 size: openstack.gateway
Vasyl Saienko55d31c32018-11-29 15:46:35 +020028 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_gateway}
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +020029 gtw02:
30 name: ${_param:openstack_gateway_node02_hostname}
31 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020032 backend: ${_param:openstack_gateway_backend_image}
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +020033 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
34 size: openstack.gateway
Vasyl Saienko55d31c32018-11-29 15:46:35 +020035 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_gateway}
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +020036 gtw03:
37 name: ${_param:openstack_gateway_node03_hostname}
38 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020039 backend: ${_param:openstack_gateway_backend_image}
Pavel Cizinsky7dd2a012018-07-30 12:43:21 +020040 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020041 size: openstack.gateway
Vasyl Saienko55d31c32018-11-29 15:46:35 +020042 cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_gateway}