blob: 144ddf2e0190f61e13da69af3983ef4e7cdf01a1 [file] [log] [blame]
Petr Michalec1c86ba02017-02-06 18:26:24 +01001applications:
2- keepalived
3classes:
4- service.keepalived.support
5parameters:
Petr Michalec8717b532017-02-06 18:33:20 +01006 _param:
7 keepalived_openstack_web_public_vip_address: ${_param:cluster_vip_address}
8 keepalived_openstack_web_public_vip_password: password
9 keepalived_openstack_web_public_vip_interface: eth1
Petr Michalec1c86ba02017-02-06 18:26:24 +010010 keepalived:
11 cluster:
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010012 vrrp_scripts:
13 check_pidof:
Mateusz Matuszkowiakf1339852018-04-10 13:19:33 +020014 args: "nginx"
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010015 interval: 10
16 rise: 1
17 fall: 1
Petr Michalec1c86ba02017-02-06 18:26:24 +010018 enabled: true
19 instance:
20 openstack_web_public_vip:
21 address: ${_param:keepalived_openstack_web_public_vip_address}
22 password: ${_param:keepalived_openstack_web_public_vip_password}
23 interface: ${_param:keepalived_openstack_web_public_vip_interface}
24 virtual_router_id: 132
25 priority: ${_param:keepalived_vip_priority}
Mateusz Matuszkowiakf1339852018-04-10 13:19:33 +020026 track_script: check_pidof