blob: 3ae48608671e3ffcddb64b67400a98ec7dec5492 [file] [log] [blame]
parameters:
_param:
infra_kvm01_hostname: kvm01
infra_kvm02_hostname: kvm02
infra_kvm03_hostname: kvm03
ceph_mon_node01_hostname: cmn01
ceph_mon_node02_hostname: cmn02
ceph_mon_node03_hostname: cmn03
ceph_rgw_node01_hostname: rgw01
ceph_rgw_node02_hostname: rgw02
ceph_rgw_node03_hostname: rgw03
ceph_mon_backend_image: ${_param:salt_control_xenial_image_backend}
ceph_rgw_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_ceph_mon:
user_data:
write_files:
- content: |
${salt:control:size:ceph.mon:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt_control_cluster_node_cloud_init_ceph_rgw:
user_data:
write_files:
- content: |
${salt:control:size:ceph.rgw:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
cluster:
internal:
node:
cmn01:
name: ${_param:ceph_mon_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:ceph_mon_backend_image}
size: ceph.mon
cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_mon}
cmn02:
name: ${_param:ceph_mon_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:ceph_mon_backend_image}
size: ceph.mon
cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_mon}
cmn03:
name: ${_param:ceph_mon_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:ceph_mon_backend_image}
size: ceph.mon
cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_mon}
rgw01:
name: ${_param:ceph_rgw_node01_hostname}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:ceph_rgw_backend_image}
size: ceph.rgw
cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_rgw}
rgw02:
name: ${_param:ceph_rgw_node02_hostname}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:ceph_rgw_backend_image}
size: ceph.rgw
cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_rgw}
rgw03:
name: ${_param:ceph_rgw_node03_hostname}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
image: ${_param:salt_control_xenial_image}
backend: ${_param:ceph_rgw_backend_image}
size: ceph.rgw
cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_rgw}