Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | applications: |
| 2 | - keepalived |
| 3 | classes: |
| 4 | - service.keepalived.support |
| 5 | parameters: |
| 6 | keepalived: |
| 7 | cluster: |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame^] | 8 | vrrp_scripts: |
| 9 | check_pidof: |
| 10 | args: "haproxy" |
| 11 | interval: 10 |
| 12 | rise: 1 |
| 13 | fall: 1 |
Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 14 | enabled: true |
| 15 | instance: |
| 16 | cicd_control_vip: |
| 17 | address: ${_param:cluster_vip_address} |
| 18 | password: ${_param:keepalived_vip_password} |
| 19 | interface: ${_param:keepalived_vip_interface} |
| 20 | virtual_router_id: ${_param:keepalived_vip_virtual_router_id} |
| 21 | priority: ${_param:keepalived_vip_priority} |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame^] | 22 | track_script: check_pidof |