blob: cee9ff80c6bd77bded0ffaf0c75e92e311fe618d [file] [log] [blame]
parameters:
_param:
openstack_database_backend_image: ${_param:salt_control_trusty_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_trusty_image}
backend: ${_param:openstack_database_backend_image}
size: openstack.database
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
dbs02:
name: ${_param:openstack_database_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_trusty_image}
backend: ${_param:openstack_database_backend_image}
size: openstack.database
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}
dbs03:
name: ${_param:openstack_database_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_trusty_image}
backend: ${_param:openstack_database_backend_image}
size: openstack.database
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_database}