blob: cb429a326087a878f9276b86301fc43f7bac5ff7 [file] [log] [blame]
Ivan Berezovskiydd1bde82019-02-04 17:29:55 +04001parameters:
2 _param:
3 kdt_backend_image: ${_param:salt_control_xenial_image_backend}
4 salt_control_cluster_node_cloud_init_kdt:
5 user_data:
6 write_files:
7 - content: |
8 ${salt:control:size:kdt:image_layout}
9 owner: root:root
10 path: /usr/share/growlvm/image-layout.yml
11 salt:
12 control:
13 cluster:
14 internal:
15 domain: ${_param:cluster_domain}
16 engine: virt
17 node:
18 kdt01:
19 name: ${_param:kdt_node01_hostname}
20 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
21 image: ${_param:salt_control_xenial_image}
22 backend: ${_param:kdt_backend_image}
23 size: kdt
24 cloud_init: ${_param:salt_control_cluster_node_cloud_init_kdt}
25 kdt02:
26 name: ${_param:kdt_node02_hostname}
27 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
28 image: ${_param:salt_control_xenial_image}
29 backend: ${_param:kdt_backend_image}
30 size: kdt
31 cloud_init: ${_param:salt_control_cluster_node_cloud_init_kdt}
32 kdt03:
33 name: ${_param:kdt_node03_hostname}
34 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
35 image: ${_param:salt_control_xenial_image}
36 backend: ${_param:kdt_backend_image}
37 size: kdt
38 cloud_init: ${_param:salt_control_cluster_node_cloud_init_kdt}