blob: 33c6d245c5908f9bb1d52fc721b6141b4a7e676f [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001parameters:
Ondrej Smola64bf5c82017-01-13 21:32:09 +01002 _param:
3 openstack_database_node01_hostname: dbs01
4 openstack_database_node02_hostname: dbs02
5 openstack_database_node03_hostname: dbs03
Ondrej Smola03ff34e2016-12-01 01:30:33 +01006 reclass:
7 storage:
8 node:
9 openstack_database_node01:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010010 name: ${_param:openstack_database_node01_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010011 domain: ${_param:cluster_domain}
12 classes:
13 - service.galera.master.cluster
14 - cluster.${_param:cluster_name}.openstack.database
15 params:
16 salt_master_host: ${_param:reclass_config_master}
17 linux_system_codename: trusty
18 single_address: ${_param:openstack_database_node01_address}
19 keepalived_vip_priority: 103
20 mysql_cluster_role: master
21 openstack_database_node02:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010022 name: ${_param:openstack_database_node02_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010023 domain: ${_param:cluster_domain}
24 classes:
25 - service.galera.slave.cluster
26 - cluster.${_param:cluster_name}.openstack.database
27 params:
28 salt_master_host: ${_param:reclass_config_master}
29 linux_system_codename: trusty
30 single_address: ${_param:openstack_database_node02_address}
31 keepalived_vip_priority: 102
32 mysql_cluster_role: slave
33 openstack_database_node03:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010034 name: ${_param:openstack_database_node03_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010035 domain: ${_param:cluster_domain}
36 classes:
37 - service.galera.slave.cluster
38 - cluster.${_param:cluster_name}.openstack.database
39 params:
40 salt_master_host: ${_param:reclass_config_master}
41 linux_system_codename: trusty
42 single_address: ${_param:openstack_database_node03_address}
43 keepalived_vip_priority: 101
44 mysql_cluster_role: slave