Merge "Transitioning to HAProxy 1.8"
This commit is contained in:
commit
e7f7bd927e
|
@ -174,7 +174,10 @@ outputs:
|
|||
- null
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/haproxy.json:
|
||||
command: /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg
|
||||
# HAProxy 1.8 doesn't ship haproxy-systemd-wrapper, we have
|
||||
# to use a new dedicated option for live config reload.
|
||||
# Note: we can't use quotes in kolla command, hence the workaround
|
||||
command: bash -c $* -- eval if [ -f /usr/sbin/haproxy-systemd-wrapper ]; then exec /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg; else exec /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws; fi
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
|
|
@ -193,7 +193,10 @@ outputs:
|
|||
data: *tls_mapping
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/haproxy.json:
|
||||
command: /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg
|
||||
# HAProxy 1.8 doesn't ship haproxy-systemd-wrapper, we have
|
||||
# to use a new dedicated option for live config reload.
|
||||
# Note: we can't use quotes in kolla command, hence the workaround
|
||||
command: bash -c $* -- eval if [ -f /usr/sbin/haproxy-systemd-wrapper ]; then exec /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg; else exec /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws; fi
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
|
Loading…
Reference in New Issue