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} |
Vasyl Saienko | f704d5e | 2017-06-12 17:11:54 +0300 | [diff] [blame] | 8 | 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 Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 13 | vrrp_scripts: |
| 14 | check_pidof: |
| 15 | args: "haproxy" |
| 16 | interval: 10 |
| 17 | rise: 1 |
| 18 | fall: 1 |
Vasyl Saienko | f704d5e | 2017-06-12 17:11:54 +0300 | [diff] [blame] | 19 | 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 Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 27 | track_script: check_pidof |