blob: d3e5c5d6ac46286612e1fb93cdf7580966859c7d [file] [log] [blame]
parameters:
_param:
openstack_control_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_openstack_control:
user_data:
write_files:
- content: |
${salt:control:size:openstack.control:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
size:
openstack.control:
cpu: 32
ram: 65536
disk_profile: small
net_profile: default
image_layout: ${_param:salt_control_size_image_layout_openstack_control}
cluster:
internal:
domain: ${_param:cluster_domain}
engine: virt
node:
ctl01:
name: ${_param:openstack_control_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_control_backend_image}
size: openstack.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
ctl02:
name: ${_param:openstack_control_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_control_backend_image}
size: openstack.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
ctl03:
name: ${_param:openstack_control_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_control_backend_image}
size: openstack.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_control}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}