blob: 784d8a794556f430eb34b2520e6e5b027c0aa665 [file] [log] [blame]
Mikhail Ivanovf95acf32017-10-27 18:24:43 +04001parameters:
2 _param:
3 oss_node01_hostname: mon01
4 oss_node02_hostname: mon02
5 oss_node03_hostname: mon03
6 oss_system_codename: xenial
7 reclass:
8 storage:
9 node:
10 stacklight_server_node01:
11 name: ${_param:oss_node01_hostname}
12 domain: ${_param:cluster_domain}
13 classes:
14 - system.docker.swarm.master
15 - cluster.${_param:cluster_name}.oss.client
16 - cluster.${_param:cluster_name}.oss.server
17 params:
18 salt_master_host: ${_param:reclass_config_master}
19 linux_system_codename: ${_param:oss_system_codename}
20 single_address: ${_param:oss_node01_address}
21 keepalived_vip_priority: 103
Mykyta Karpin84b43392018-09-13 09:54:44 +030022 glusterfs_node_role: primary
Mikhail Ivanovf95acf32017-10-27 18:24:43 +040023 stacklight_server_node02:
24 name: ${_param:oss_node02_hostname}
25 domain: ${_param:cluster_domain}
26 classes:
27 - system.docker.swarm.manager
28 - cluster.${_param:cluster_name}.oss.server
29 params:
30 salt_master_host: ${_param:reclass_config_master}
31 linux_system_codename: ${_param:oss_system_codename}
32 single_address: ${_param:oss_node02_address}
33 keepalived_vip_priority: 102
Mykyta Karpin84b43392018-09-13 09:54:44 +030034 glusterfs_node_role: secondary
Mikhail Ivanovf95acf32017-10-27 18:24:43 +040035 stacklight_server_node03:
36 name: ${_param:oss_node03_hostname}
37 domain: ${_param:cluster_domain}
38 classes:
39 - system.docker.swarm.manager
40 - cluster.${_param:cluster_name}.oss.server
41 params:
42 salt_master_host: ${_param:reclass_config_master}
43 linux_system_codename: ${_param:oss_system_codename}
44 single_address: ${_param:oss_node03_address}
45 keepalived_vip_priority: 101
Mykyta Karpin84b43392018-09-13 09:54:44 +030046 glusterfs_node_role: secondary