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: |
Mateusz Matuszkowiak | e420486 | 2018-02-28 14:19:08 +0100 | [diff] [blame] | 9 | vip: |
| 10 | content: "pidof haproxy && docker service ls" |
| 11 | interval: 30 |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 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 | e420486 | 2018-02-28 14:19:08 +0100 | [diff] [blame] | 22 | track_script: vip |