blob: 78ee267e4db7d92accdb840fb4a1916dcc95d7e0 [file] [log] [blame]
parameters:
_param:
infra_kvm01_hostname: kvm01
infra_kvm02_hostname: kvm02
infra_kvm03_hostname: kvm03
openstack_gateway_node01_hostname: gtw01
openstack_gateway_node02_hostname: gtw02
openstack_gateway_node03_hostname: gtw03
openstack_gateway_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_openstack_gateway:
user_data:
write_files:
- content: |
${salt:control:size:openstack.gateway:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
cluster:
internal:
node:
gtw01:
name: ${_param:openstack_gateway_node01_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_gateway_backend_image}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
size: openstack.gateway
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_gateway}
gtw02:
name: ${_param:openstack_gateway_node02_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_gateway_backend_image}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
size: openstack.gateway
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_gateway}
gtw03:
name: ${_param:openstack_gateway_node03_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:openstack_gateway_backend_image}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
size: openstack.gateway
cloud_init: ${_param:salt_control_cluster_node_cloud_init_openstack_gateway}