blob: 0514bc30aabb6cefc63000e0d4b4641a7f275fb3 [file] [log] [blame]
parameters:
_param:
salt_control_centos7_image_backend: /var/lib/libvirt/images/backends/centos7.qcow2
infra_idm_backend_image: ${_param:salt_control_centos7_image_backend}
salt_control_cluster_node_cloud_init_infra_idm:
user_data:
write_files:
- content: |
${salt:control:size:infra.idm:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
size:
infra.idm:
cpu: 4
ram: 8192
disk_profile: large
net_profile: default
image_layout: ${_param:salt_control_size_image_layout_infra_idm}
cluster:
internal:
domain: ${_param:cluster_domain}
engine: virt
node:
idm01:
name: ${_param:infra_idm_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_centos7_image}
backend: ${_param:infra_idm_backend_image}
size: infra.idm
cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
idm02:
name: ${_param:infra_idm_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_centos7_image}
backend: ${_param:infra_idm_backend_image}
size: infra.idm
cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
idm03:
name: ${_param:infra_idm_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_centos7_image}
backend: ${_param:infra_idm_backend_image}
size: infra.idm
cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_idm}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}