blob: abc52ceffc744d9041397d5c8f729ff83b9e5f2f [file] [log] [blame]
Vasyl Saienko9cce7fd2018-03-12 10:57:37 +02001parameters:
2 _param:
3 openstack_share_node01_hostname: share01
4 openstack_share_node02_hostname: share02
5 openstack_share_node03_hostname: share03
6
7 openstack_share_node01_share_address: ${_param:single_address}
8 openstack_share_node02_share_address: ${_param:single_address}
9 openstack_share_node03_share_address: ${_param:single_address}
10 reclass:
11 storage:
12 node:
13 openstack_share_node01:
14 name: ${_param:openstack_share_node01_hostname}
15 domain: ${_param:cluster_domain}
16 classes:
17 - cluster.${_param:cluster_name}.openstack.share
18 params:
19 salt_master_host: ${_param:reclass_config_master}
20 linux_system_codename: ${_param:linux_system_codename}
21 single_address: ${_param:openstack_share_node01_address}
Vasyl Saienko7535d592018-03-14 15:25:29 +020022 manila_share_address: ${_param:openstack_share_node01_share_address}
Oleksii Grudevb98a3c02018-09-12 10:54:18 +030023 keepalived_vip_priority: 103
24 openstack_node_role: primary
Vasyl Saienko9cce7fd2018-03-12 10:57:37 +020025 openstack_share_node02:
26 name: ${_param:openstack_share_node02_hostname}
27 domain: ${_param:cluster_domain}
28 classes:
29 - cluster.${_param:cluster_name}.openstack.share
30 params:
31 salt_master_host: ${_param:reclass_config_master}
32 linux_system_codename: ${_param:linux_system_codename}
33 single_address: ${_param:openstack_share_node02_address}
Vasyl Saienko7535d592018-03-14 15:25:29 +020034 manila_share_address: ${_param:openstack_share_node02_share_address}
Oleksii Grudevb98a3c02018-09-12 10:54:18 +030035 keepalived_vip_priority: 102
36 openstack_node_role: secondary
Vasyl Saienko9cce7fd2018-03-12 10:57:37 +020037 openstack_share_node03:
38 name: ${_param:openstack_share_node03_hostname}
39 domain: ${_param:cluster_domain}
40 classes:
41 - cluster.${_param:cluster_name}.openstack.share
42 params:
43 salt_master_host: ${_param:reclass_config_master}
44 linux_system_codename: ${_param:linux_system_codename}
45 single_address: ${_param:openstack_share_node03_address}
Vasyl Saienko7535d592018-03-14 15:25:29 +020046 manila_share_address: ${_param:openstack_share_node03_share_address}
Oleksii Grudevb98a3c02018-09-12 10:54:18 +030047 keepalived_vip_priority: 101
48 openstack_node_role: secondary