blob: 62120d047efae26fdeefda894ae4ed7bccf36277 [file] [log] [blame]
parameters:
_param:
openstack_dns_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_openstack_dns:
user_data:
write_files:
- content: |
${salt:control:size:openstack.dns:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
size:
openstack.dns:
cpu: 2
ram: 4096
disk_profile: small
net_profile: default
image_layout: ${_param:salt_control_size_image_layout_openstack_dns}
cluster:
internal:
domain: ${_param:cluster_domain}
engine: virt
node:
dns01:
name: ${_param:openstack_dns_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_dns_backend_image}
size: openstack.dns
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_dns}
dns02:
name: ${_param:openstack_dns_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_dns_backend_image}
size: openstack.dns
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_dns}