blob: e3e43e53aa3ea5b39206e8f11e3f6ab1cadb8c38 [file] [log] [blame]
Jiri Broulik1cd6e592017-10-05 16:02:34 +02001parameters:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02002 _param:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02003 ceph_mon_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +02004 salt_control_cluster_node_cloud_init_ceph_mon:
5 user_data:
6 write_files:
7 - content: |
8 ${salt:control:size:ceph.mon:image_layout}
9 owner: root:root
10 path: /usr/share/growlvm/image-layout.yml
Jiri Broulik1cd6e592017-10-05 16:02:34 +020011 salt:
12 control:
13 size:
14 ceph.mon:
15 cpu: 16
16 ram: 32768
17 disk_profile: small
18 net_profile: default
Vasyl Saienko55d31c32018-11-29 15:46:35 +020019 image_layout: ${_param:salt_control_size_image_layout_ceph_mon}
Jiri Broulik1cd6e592017-10-05 16:02:34 +020020 cluster:
21 internal:
22 domain: ${_param:cluster_domain}
23 engine: virt
24 node:
25 cmn01:
26 name: ${_param:ceph_mon_node01_hostname}
27 provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
28 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020029 backend: ${_param:ceph_mon_backend_image}
Jiri Broulik1cd6e592017-10-05 16:02:34 +020030 size: ceph.mon
Vasyl Saienko55d31c32018-11-29 15:46:35 +020031 cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_mon}
Vladimir Khlyunevefee5212021-09-15 14:16:47 +040032 cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
Jiri Broulik1cd6e592017-10-05 16:02:34 +020033 cmn02:
34 name: ${_param:ceph_mon_node02_hostname}
35 provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
36 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020037 backend: ${_param:ceph_mon_backend_image}
Jiri Broulik1cd6e592017-10-05 16:02:34 +020038 size: ceph.mon
Vasyl Saienko55d31c32018-11-29 15:46:35 +020039 cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_mon}
Vladimir Khlyunevefee5212021-09-15 14:16:47 +040040 cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}
Jiri Broulik1cd6e592017-10-05 16:02:34 +020041 cmn03:
42 name: ${_param:ceph_mon_node03_hostname}
43 provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
44 image: ${_param:salt_control_xenial_image}
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +020045 backend: ${_param:ceph_mon_backend_image}
46 size: ceph.mon
Vasyl Saienko55d31c32018-11-29 15:46:35 +020047 cloud_init: ${_param:salt_control_cluster_node_cloud_init_ceph_mon}
Vladimir Khlyunevefee5212021-09-15 14:16:47 +040048 cpu_mode: ${_param:salt_control_cluster_qemu_cpu_mode}