Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 1 | parameters: |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 2 | _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 Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 5 | 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 Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 12 | salt: |
| 13 | control: |
| 14 | size: |
| 15 | infra.idm: |
| 16 | cpu: 4 |
| 17 | ram: 8192 |
| 18 | disk_profile: large |
| 19 | net_profile: default |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 20 | image_layout: ${_param:salt_control_size_image_layout_infra_idm} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 21 | cluster: |
| 22 | internal: |
| 23 | domain: ${_param:cluster_domain} |
| 24 | engine: virt |
| 25 | node: |
| 26 | idm01: |
Marek Celoud | 37e01c8 | 2017-11-08 10:31:12 +0100 | [diff] [blame] | 27 | name: ${_param:infra_idm_node01_hostname} |
Alexander Noskov | 7a01c51 | 2017-05-04 13:59:01 +0400 | [diff] [blame] | 28 | provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 29 | image: ${_param:salt_control_centos7_image} |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 30 | backend: ${_param:infra_idm_backend_image} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 31 | size: infra.idm |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 32 | cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 33 | idm02: |
Marek Celoud | 37e01c8 | 2017-11-08 10:31:12 +0100 | [diff] [blame] | 34 | name: ${_param:infra_idm_node02_hostname} |
Alexander Noskov | 7a01c51 | 2017-05-04 13:59:01 +0400 | [diff] [blame] | 35 | provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 36 | image: ${_param:salt_control_centos7_image} |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 37 | backend: ${_param:infra_idm_backend_image} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 38 | size: infra.idm |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 39 | cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 40 | idm03: |
Marek Celoud | 37e01c8 | 2017-11-08 10:31:12 +0100 | [diff] [blame] | 41 | name: ${_param:infra_idm_node03_hostname} |
Alexander Noskov | 7a01c51 | 2017-05-04 13:59:01 +0400 | [diff] [blame] | 42 | provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 43 | image: ${_param:salt_control_centos7_image} |
Dzmitry Stremkouski | e4dfce8 | 2018-09-06 22:22:33 +0200 | [diff] [blame] | 44 | backend: ${_param:infra_idm_backend_image} |
Ondrej Smola | 6234f04 | 2017-02-21 21:46:17 +0100 | [diff] [blame] | 45 | size: infra.idm |
Vasyl Saienko | 55d31c3 | 2018-11-29 15:46:35 +0200 | [diff] [blame] | 46 | cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm} |