blob: 7e9b4810d05f4235ed1c0a313f8487fd9542fb37 [file] [log] [blame]
Ondrej Smola6234f042017-02-21 21:46:17 +01001parameters:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02002 _param:
3 salt_control_centos7_image_backend: /var/lib/libvirt/images/backends/centos7.qcow2
4 infra_idm_backend_image: ${_param:salt_control_centos7_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +02005 salt_control_cluster_node_cloud_init_infra_idm:
6 user_data:
7 write_files:
8 - content: |
9 ${salt:control:size:infra.idm:image_layout}
10 owner: root:root
11 path: /usr/share/growlvm/image-layout.yml
Ondrej Smola6234f042017-02-21 21:46:17 +010012 salt:
13 control:
14 size:
15 infra.idm:
16 cpu: 4
17 ram: 8192
18 disk_profile: large
19 net_profile: default
Vasyl Saienko55d31c32018-11-29 15:46:35 +020020 image_layout: ${_param:salt_control_size_image_layout_infra_idm}
Ondrej Smola6234f042017-02-21 21:46:17 +010021 cluster:
22 internal:
23 domain: ${_param:cluster_domain}
24 engine: virt
25 node:
26 idm01:
Marek Celoud37e01c82017-11-08 10:31:12 +010027 name: ${_param:infra_idm_node01_hostname}
Alexander Noskov7a01c512017-05-04 13:59:01 +040028 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
Ondrej Smola6234f042017-02-21 21:46:17 +010029 image: ${_param:salt_control_centos7_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020030 backend: ${_param:infra_idm_backend_image}
Ondrej Smola6234f042017-02-21 21:46:17 +010031 size: infra.idm
Vasyl Saienko55d31c32018-11-29 15:46:35 +020032 cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm}
Ondrej Smola6234f042017-02-21 21:46:17 +010033 idm02:
Marek Celoud37e01c82017-11-08 10:31:12 +010034 name: ${_param:infra_idm_node02_hostname}
Alexander Noskov7a01c512017-05-04 13:59:01 +040035 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
Ondrej Smola6234f042017-02-21 21:46:17 +010036 image: ${_param:salt_control_centos7_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020037 backend: ${_param:infra_idm_backend_image}
Ondrej Smola6234f042017-02-21 21:46:17 +010038 size: infra.idm
Vasyl Saienko55d31c32018-11-29 15:46:35 +020039 cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm}
Ondrej Smola6234f042017-02-21 21:46:17 +010040 idm03:
Marek Celoud37e01c82017-11-08 10:31:12 +010041 name: ${_param:infra_idm_node03_hostname}
Alexander Noskov7a01c512017-05-04 13:59:01 +040042 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
Ondrej Smola6234f042017-02-21 21:46:17 +010043 image: ${_param:salt_control_centos7_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020044 backend: ${_param:infra_idm_backend_image}
Ondrej Smola6234f042017-02-21 21:46:17 +010045 size: infra.idm
Vasyl Saienko55d31c32018-11-29 15:46:35 +020046 cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm}