blob: 0ee7d638f9dca026a491ae657209a6a87ebdbb84 [file] [log] [blame]
Oleg Gelbukh9ae4ae52019-01-23 00:16:56 -08001parameters:
2 _param:
3 infra_kvm01_hostname: kvm01
4 infra_kvm02_hostname: kvm02
5 infra_kvm03_hostname: kvm03
6 cicd_control_node01_hostname: cid01
7 cicd_control_node02_hostname: cid02
8 cicd_control_node03_hostname: cid03
9 cicd_control_backend_image: ${_param:salt_control_xenial_image_backend}
10 salt_control_cluster_node_cloud_init_cicd_control:
11 user_data:
12 write_files:
13 - content: |
14 ${salt:control:size:cicd.control:image_layout}
15 owner: root:root
16 path: /usr/share/growlvm/image-layout.yml
17 salt:
18 control:
19 cluster:
20 internal:
21 node:
22 cid01:
23 name: ${_param:cicd_control_node01_hostname}
24 image: ${_param:salt_control_xenial_image}
25 backend: ${_param:cicd_control_backend_image}
26 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
27 size: cicd.control
28 cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
29 cid02:
30 name: ${_param:cicd_control_node02_hostname}
31 image: ${_param:salt_control_xenial_image}
32 backend: ${_param:cicd_control_backend_image}
33 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
34 size: cicd.control
35 cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
36 cid03:
37 name: ${_param:cicd_control_node03_hostname}
38 image: ${_param:salt_control_xenial_image}
39 backend: ${_param:cicd_control_backend_image}
40 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
41 size: cicd.control
42 cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}