blob: 0ee7d638f9dca026a491ae657209a6a87ebdbb84 [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 cicd_control_node01_hostname: cid01
7 cicd_control_node02_hostname: cid02
8 cicd_control_node03_hostname: cid03
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02009 cicd_control_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +020010 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
Pavel Cizinsky1204f992018-07-10 14:47:58 +020017 salt:
18 control:
19 cluster:
20 internal:
21 node:
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020022 cid01:
23 name: ${_param:cicd_control_node01_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020024 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020025 backend: ${_param:cicd_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020026 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
27 size: cicd.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020028 cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020029 cid02:
30 name: ${_param:cicd_control_node02_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020031 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020032 backend: ${_param:cicd_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020033 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
34 size: cicd.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020035 cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
Pavel Cizinskyb0224ac2018-07-13 14:54:52 +020036 cid03:
37 name: ${_param:cicd_control_node03_hostname}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020038 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020039 backend: ${_param:cicd_control_backend_image}
Pavel Cizinsky1204f992018-07-10 14:47:58 +020040 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020041 size: cicd.control
Vasyl Saienko55d31c32018-11-29 15:46:35 +020042 cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}