blob: 465467087e6b2be142e7abff0fbc3424d6efd3c8 [file] [log] [blame]
Jakub Pavlike9ba5f42017-06-07 10:52:08 +02001parameters:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02002 _param:
Dzmitry Stremkouskie4dfce82018-09-06 22:22:33 +02003 infra_maas_backend_image: ${_param:salt_control_xenial_image_backend}
Vasyl Saienko55d31c32018-11-29 15:46:35 +02004 salt_control_cluster_node_cloud_init_infra_maas:
5 user_data:
6 write_files:
7 - content: |
8 ${salt:control:size:infra.maas:image_layout}
9 owner: root:root
10 path: /usr/share/growlvm/image-layout.yml
Jakub Pavlike9ba5f42017-06-07 10:52:08 +020011 salt:
12 control:
13 size:
14 infra.maas:
15 cpu: 4
16 ram: 8192
17 disk_profile: small
18 net_profile: default
Vasyl Saienko55d31c32018-11-29 15:46:35 +020019 image_layout: ${_param:salt_control_size_image_layout_infra_maas}
Jakub Pavlike9ba5f42017-06-07 10:52:08 +020020 cluster:
21 internal:
22 domain: ${_param:cluster_domain}
23 engine: virt
24 node:
25 mas01:
26 name: ${_param:infra_maas_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:infra_maas_backend_image}
Jakub Pavlike9ba5f42017-06-07 10:52:08 +020030 size: infra.maas
Vasyl Saienko55d31c32018-11-29 15:46:35 +020031 cloud_init: ${_param:salt_control_cluster_node_cloud_init_infra_maas}