blob: fe2b527178b0e7637596a849828f71ee9edd1acb [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}
Vasyl Saienkof704d5e2017-06-12 17:11:54 +03008 keepalived_openstack_baremetal_vip_interface: eth1
9 keepalived_openstack_baremetal_vip_virtual_router_id: 132
10 keepalived_openstack_baremetal_vip_priority: ${_param:keepalived_vip_priority}
11 keepalived:
12 cluster:
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010013 vrrp_scripts:
14 check_pidof:
15 args: "haproxy"
16 interval: 10
17 rise: 1
18 fall: 1
Vasyl Saienkof704d5e2017-06-12 17:11:54 +030019 enabled: true
20 instance:
21 openstack_baremetal_vip:
22 address: ${_param:keepalived_openstack_baremetal_vip_address}
23 password: ${_param:keepalived_openstack_baremetal_password}
24 interface: ${_param:keepalived_openstack_baremetal_vip_interface}
25 virtual_router_id: ${_param:keepalived_openstack_baremetal_vip_virtual_router_id}
26 priority: ${_param:keepalived_openstack_baremetal_vip_priority}
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010027 track_script: check_pidof