blob: c5beb205bfc105643b24cc1bdf93a045ddd43c2f [file] [log] [blame]
parameters:
_param:
cicd_control_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_cicd_control:
user_data:
write_files:
- content: |
${salt:control:size:cicd.control:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
size:
cicd.control:
cpu: 8
ram: 32768
disk_profile: large
net_profile: default
image_layout: ${_param:salt_control_size_image_layout_cicd_control}
cluster:
internal:
domain: ${_param:cluster_domain}
engine: virt
node:
cid01:
name: ${_param:cicd_control_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:cicd_control_backend_image}
size: cicd.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
cid02:
name: ${_param:cicd_control_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:cicd_control_backend_image}
size: cicd.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
cid03:
name: ${_param:cicd_control_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:cicd_control_backend_image}
size: cicd.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_cicd_control}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}