Vasyl Saienko | f704d5e | 2017-06-12 17:11:54 +0300 | [diff] [blame] | 1 | applications: |
| 2 | - keepalived |
| 3 | classes: |
| 4 | - service.keepalived.support |
| 5 | parameters: |
| 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 Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 14 | vrrp_scripts: |
| 15 | check_pidof: |
| 16 | args: "haproxy" |
| 17 | interval: 10 |
| 18 | rise: 1 |
| 19 | fall: 1 |
Vasyl Saienko | f704d5e | 2017-06-12 17:11:54 +0300 | [diff] [blame] | 20 | 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 Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 28 | track_script: check_pidof |