From 95a668541cf969dcad545476a89ef065c8fa14db Mon Sep 17 00:00:00 2001 From: "Mosher, Jaymes (jm616v)" Date: Wed, 24 Aug 2022 18:41:04 -0600 Subject: [PATCH] Ensure haproxy.cfg ends with newline Versions of Haproxy >=2.3 require the config file to end in a newline or they'll exit with an error. Change-Id: I9301ea679536b10ee5ad0d87d42c1655e5852616 --- .../templates/roles/common/etc/promenade/haproxy/haproxy.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/promenade/templates/roles/common/etc/promenade/haproxy/haproxy.cfg b/promenade/templates/roles/common/etc/promenade/haproxy/haproxy.cfg index 715bc9fc..c2ab2cce 100644 --- a/promenade/templates/roles/common/etc/promenade/haproxy/haproxy.cfg +++ b/promenade/templates/roles/common/etc/promenade/haproxy/haproxy.cfg @@ -42,3 +42,5 @@ backend kube-system-kubernetes-etcd-be {%- for ip in config.join_ips %} server s{{ ip }} {{ ip }}:{{ port }} check port {{ port }} {%- endfor %} + +# Haproxy requires config files end with a newline.