Update/correct vrrp check for haproxy
The socat use was more or less legit, but checking PID file and related process is a more convenient way - especially NOT involving any pipe in docker command. This also converge with the puppet-tripleo check change: Ib5050a3a6af262e26b5523974d1d4a80c4e92834 Change-Id: I576c4c7d0645169356d4d77493387603f0719656
This commit is contained in:
parent
87c03bf6b8
commit
02a0b87095
@ -60,7 +60,7 @@ outputs:
|
||||
config_settings:
|
||||
map_merge:
|
||||
- get_attr: [KeepalivedBase, role_data, config_settings]
|
||||
- tripleo::keepalived:custom_vrrp_script: 'echo "show info" | socat unix-connect:/var/lib/haproxy/haproxy.sock stdio > /dev/null'
|
||||
- tripleo::keepalived:custom_vrrp_script: 'test -S /var/lib/haproxy/stats && echo "show info" | socat /var/lib/haproxy/stats stdio'
|
||||
logging_source: {get_attr: [KeepalivedBase, role_data, logging_source]}
|
||||
logging_groups: {get_attr: [KeepalivedBase, role_data, logging_groups]}
|
||||
service_config_settings: {get_attr: [KeepalivedBase, role_data, service_config_settings]}
|
||||
|
Loading…
Reference in New Issue
Block a user