blob: 9391d06407f6217ec40f4811a3a55901ff476be8 [file] [log] [blame]
parameters:
_param:
openstack_database_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_openstack_database:
user_data:
write_files:
- content: |
${salt:control:size:openstack.database:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
size:
openstack.database:
cpu: 32
ram: 65536
disk_profile: small
net_profile: default
image_layout: ${_param:salt_control_size_image_layout_openstack_database}
cluster:
internal:
domain: ${_param:cluster_domain}
engine: virt
node:
dbs01:
name: ${_param:openstack_database_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_database_backend_image}
size: openstack.database
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
dbs02:
name: ${_param:openstack_database_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_database_backend_image}
size: openstack.database
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
dbs03:
name: ${_param:openstack_database_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_database_backend_image}
size: openstack.database
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}