Merge "Haproxy: fix haproxy_cmd for Debian"

This commit is contained in:
Zuul 2019-10-03 14:50:29 +00:00 committed by Gerrit Code Review
commit c8509dbeac

View File

@ -1,5 +1,5 @@
#!/bin/bash -x
{% set haproxy_cmd='/usr/sbin/haproxy -W -db' if kolla_base_distro in ['ubuntu'] else '/usr/sbin/haproxy-systemd-wrapper' %}
{% set haproxy_cmd='/usr/sbin/haproxy -W -db' if kolla_base_distro in ['debian', 'ubuntu'] else '/usr/sbin/haproxy-systemd-wrapper' %}
# We need to run haproxy with one `-f` for each service, because including an
# entire config directory was not a feature until version 1.7 of HAProxy.