Haproxy: fix haproxy_cmd for Debian

Change-Id: I097082112b857444c3e2f73896be5832a776743b
This commit is contained in:
Viktor Michalek 2019-10-01 14:12:42 +02:00 committed by Marcin Juszkiewicz
parent 67267e0cb2
commit 78aab26295

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.