blob: 514b56bd9254b37a5a119d3c227bbb98ed25b779 [file] [log] [blame]
parameters:
_param:
openstack_baremetal_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_openstack_baremetal:
user_data:
write_files:
- content: |
${salt:control:size:openstack.baremetal:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
size:
openstack.baremetal:
cpu: 32
ram: 65536
disk_profile: small
net_profile: default
image_layout: ${_param:salt_control_size_image_layout_openstack_baremetal}
cluster:
internal:
domain: ${_param:cluster_domain}
engine: virt
node:
bmt01:
name: ${_param:openstack_baremetal_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_baremetal_backend_image}
size: openstack.baremetal
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_baremetal}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
bmt02:
name: ${_param:openstack_baremetal_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_baremetal_backend_image}
size: openstack.baremetal
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_baremetal}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
bmt03:
name: ${_param:openstack_baremetal_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_baremetal_backend_image}
size: openstack.baremetal
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_baremetal}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}