parameters: | |
_param: | |
oss_node01_hostname: mon01 | |
oss_node02_hostname: mon02 | |
oss_node03_hostname: mon03 | |
oss_system_codename: xenial | |
reclass: | |
storage: | |
node: | |
stacklight_server_node01: | |
name: ${_param:oss_node01_hostname} | |
domain: ${_param:cluster_domain} | |
classes: | |
- system.docker.swarm.master | |
- cluster.${_param:cluster_name}.oss.client | |
- cluster.${_param:cluster_name}.oss.server | |
params: | |
salt_master_host: ${_param:reclass_config_master} | |
linux_system_codename: ${_param:oss_system_codename} | |
single_address: ${_param:oss_node01_address} | |
keepalived_vip_priority: 103 | |
glusterfs_node_role: primary | |
stacklight_server_node02: | |
name: ${_param:oss_node02_hostname} | |
domain: ${_param:cluster_domain} | |
classes: | |
- system.docker.swarm.manager | |
- cluster.${_param:cluster_name}.oss.server | |
params: | |
salt_master_host: ${_param:reclass_config_master} | |
linux_system_codename: ${_param:oss_system_codename} | |
single_address: ${_param:oss_node02_address} | |
keepalived_vip_priority: 102 | |
glusterfs_node_role: secondary | |
stacklight_server_node03: | |
name: ${_param:oss_node03_hostname} | |
domain: ${_param:cluster_domain} | |
classes: | |
- system.docker.swarm.manager | |
- cluster.${_param:cluster_name}.oss.server | |
params: | |
salt_master_host: ${_param:reclass_config_master} | |
linux_system_codename: ${_param:oss_system_codename} | |
single_address: ${_param:oss_node03_address} | |
keepalived_vip_priority: 101 | |
glusterfs_node_role: secondary |