blob: 355cf531412c24a0ac38f514931daa41185f54ba [file] [log] [blame]
Vasyl Saienkof704d5e2017-06-12 17:11:54 +03001applications:
2- keepalived
3classes:
4- service.keepalived.support
5parameters:
6 _param:
7 keepalived_openstack_baremetal_vip_address: ${_param:cluster_baremetal_vip_address}
8 keepalived_openstack_baremetal_password: password
9 keepalived_openstack_baremetal_vip_interface: eth1
10 keepalived_openstack_baremetal_vip_virtual_router_id: 132
11 keepalived_openstack_baremetal_vip_priority: ${_param:keepalived_vip_priority}
12 keepalived:
13 cluster:
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010014 vrrp_scripts:
15 check_pidof:
16 args: "haproxy"
17 interval: 10
18 rise: 1
19 fall: 1
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030020 enabled: true
21 instance:
22 openstack_baremetal_vip:
23 address: ${_param:keepalived_openstack_baremetal_vip_address}
24 password: ${_param:keepalived_openstack_baremetal_password}
25 interface: ${_param:keepalived_openstack_baremetal_vip_interface}
26 virtual_router_id: ${_param:keepalived_openstack_baremetal_vip_virtual_router_id}
27 priority: ${_param:keepalived_openstack_baremetal_vip_priority}
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010028 track_script: check_pidof