Petr Michalec | 1c86ba0 | 2017-02-06 18:26:24 +0100 | [diff] [blame] | 1 | applications: |
| 2 | - keepalived |
| 3 | classes: |
| 4 | - service.keepalived.support |
| 5 | parameters: |
Petr Michalec | 8717b53 | 2017-02-06 18:33:20 +0100 | [diff] [blame] | 6 | _param: |
| 7 | keepalived_openstack_web_public_vip_address: ${_param:cluster_vip_address} |
| 8 | keepalived_openstack_web_public_vip_password: password |
| 9 | keepalived_openstack_web_public_vip_interface: eth1 |
Petr Michalec | 1c86ba0 | 2017-02-06 18:26:24 +0100 | [diff] [blame] | 10 | keepalived: |
| 11 | cluster: |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 12 | vrrp_scripts: |
| 13 | check_pidof: |
Mateusz Matuszkowiak | f133985 | 2018-04-10 13:19:33 +0200 | [diff] [blame] | 14 | args: "nginx" |
Mateusz Matuszkowiak | 6176a5a | 2018-02-26 11:08:47 +0100 | [diff] [blame] | 15 | interval: 10 |
| 16 | rise: 1 |
| 17 | fall: 1 |
Petr Michalec | 1c86ba0 | 2017-02-06 18:26:24 +0100 | [diff] [blame] | 18 | enabled: true |
| 19 | instance: |
| 20 | openstack_web_public_vip: |
| 21 | address: ${_param:keepalived_openstack_web_public_vip_address} |
| 22 | password: ${_param:keepalived_openstack_web_public_vip_password} |
| 23 | interface: ${_param:keepalived_openstack_web_public_vip_interface} |
| 24 | virtual_router_id: 132 |
| 25 | priority: ${_param:keepalived_vip_priority} |
Mateusz Matuszkowiak | f133985 | 2018-04-10 13:19:33 +0200 | [diff] [blame] | 26 | track_script: check_pidof |