blob: 1621a4c3b9db8c5654c95f51b29e1540099d24cb [file] [log] [blame]
parameters:
_param:
infra_kvm_node01_hostname: kvm01
infra_kvm_node02_hostname: kvm02
infra_kvm_node03_hostname: kvm03
infra_kvm_node01_deploy_address: ${_param:infra_kvm_node01_address}
infra_kvm_node02_deploy_address: ${_param:infra_kvm_node02_address}
infra_kvm_node03_deploy_address: ${_param:infra_kvm_node03_address}
infra_kvm_node01_storage_address: ${_param:infra_kvm_node01_address}
infra_kvm_node02_storage_address: ${_param:infra_kvm_node02_address}
infra_kvm_node03_storage_address: ${_param:infra_kvm_node03_address}
infra_kvm_node01_public_address: ${_param:infra_kvm_node01_address}
infra_kvm_node02_public_address: ${_param:infra_kvm_node02_address}
infra_kvm_node03_public_address: ${_param:infra_kvm_node03_address}
infra_kvm_system_codename: trusty
reclass:
storage:
node:
infra_kvm_node01:
name: ${_param:infra_kvm_node01_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.infra.kvm
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:infra_kvm_system_codename}
single_address: ${_param:infra_kvm_node01_address}
deploy_address: ${_param:infra_kvm_node01_deploy_address}
public_address: ${_param:infra_kvm_node01_public_address}
storage_address: ${_param:infra_kvm_node01_storage_address}
glusterfs_node_role: primary
infra_kvm_node02:
name: ${_param:infra_kvm_node02_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.infra.kvm
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:infra_kvm_system_codename}
single_address: ${_param:infra_kvm_node02_address}
deploy_address: ${_param:infra_kvm_node02_deploy_address}
public_address: ${_param:infra_kvm_node02_public_address}
storage_address: ${_param:infra_kvm_node02_storage_address}
glusterfs_node_role: secondary
infra_kvm_node03:
name: ${_param:infra_kvm_node03_hostname}
domain: ${_param:cluster_domain}
classes:
- cluster.${_param:cluster_name}.infra.kvm
params:
salt_master_host: ${_param:reclass_config_master}
linux_system_codename: ${_param:infra_kvm_system_codename}
single_address: ${_param:infra_kvm_node03_address}
deploy_address: ${_param:infra_kvm_node03_deploy_address}
public_address: ${_param:infra_kvm_node03_public_address}
storage_address: ${_param:infra_kvm_node03_storage_address}
glusterfs_node_role: secondary