blob: 4846c84d74e0f113791b7e3a753a48b90b58a879 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001parameters:
Ondrej Smola64bf5c82017-01-13 21:32:09 +01002 _param:
3 stacklight_monitor_node01_hostname: mon01
Guillaume Thouvenin13f06f02017-01-16 14:45:35 +01004 stacklight_monitor_node02_hostname: mon02
5 stacklight_monitor_node03_hostname: mon03
Pavel Svimbersky44717ec2017-08-24 11:41:05 +02006 stacklight_monitor_system_codename: xenial
Ondrej Smola03ff34e2016-12-01 01:30:33 +01007 reclass:
8 storage:
9 node:
10 stacklight_server_node01:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010011 name: ${_param:stacklight_monitor_node01_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010012 domain: ${_param:cluster_domain}
13 classes:
14 - cluster.${_param:cluster_name}.stacklight.server
Ondrej Smola03ff34e2016-12-01 01:30:33 +010015 - system.elasticsearch.client.single
16 - system.grafana.client.single
17 - system.kibana.client.single
18 params:
Guillaume Thouvenine1ecebc2017-01-30 16:31:44 +010019 redis_cluster_role: 'master'
Guillaume Thouvenine26de192017-02-02 09:43:36 +010020 rabbitmq_cluster_role: 'master'
Ondrej Smola03ff34e2016-12-01 01:30:33 +010021 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020022 linux_system_codename: ${_param:stacklight_monitor_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010023 single_address: ${_param:stacklight_monitor_node01_address}
Filip Pytloun19a4baf2017-03-02 14:35:38 +000024 keepalived_vip_priority: 103
Ondrej Smola03ff34e2016-12-01 01:30:33 +010025 stacklight_server_node02:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010026 name: ${_param:stacklight_monitor_node02_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010027 domain: ${_param:cluster_domain}
28 classes:
29 - cluster.${_param:cluster_name}.stacklight.server
30 params:
Guillaume Thouvenine1ecebc2017-01-30 16:31:44 +010031 redis_cluster_role: 'slave'
Guillaume Thouvenine26de192017-02-02 09:43:36 +010032 rabbitmq_cluster_role: 'slave'
Ondrej Smola03ff34e2016-12-01 01:30:33 +010033 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020034 linux_system_codename: ${_param:stacklight_monitor_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010035 single_address: ${_param:stacklight_monitor_node02_address}
Filip Pytloun19a4baf2017-03-02 14:35:38 +000036 keepalived_vip_priority: 102
Ondrej Smola03ff34e2016-12-01 01:30:33 +010037 stacklight_server_node03:
Ondrej Smola64bf5c82017-01-13 21:32:09 +010038 name: ${_param:stacklight_monitor_node03_hostname}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010039 domain: ${_param:cluster_domain}
40 classes:
41 - cluster.${_param:cluster_name}.stacklight.server
42 params:
Guillaume Thouvenine1ecebc2017-01-30 16:31:44 +010043 redis_cluster_role: 'slave'
Guillaume Thouvenine26de192017-02-02 09:43:36 +010044 rabbitmq_cluster_role: 'slave'
Ondrej Smola03ff34e2016-12-01 01:30:33 +010045 salt_master_host: ${_param:reclass_config_master}
Pavel Svimbersky44717ec2017-08-24 11:41:05 +020046 linux_system_codename: ${_param:stacklight_monitor_system_codename}
Ondrej Smola03ff34e2016-12-01 01:30:33 +010047 single_address: ${_param:stacklight_monitor_node03_address}
Filip Pytloun19a4baf2017-03-02 14:35:38 +000048 keepalived_vip_priority: 101