blob: 1080e624d31425d8cb3d5cf9c5c4c142f20cdba9 [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:
14 args: "haproxy"
15 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 Matuszkowiak6176a5a2018-02-26 11:08:47 +010026 track_script: check_pidof