From 991a5026361174ea775c36d251ee5fcd89046e04 Mon Sep 17 00:00:00 2001 From: Mike Sager Date: Fri, 16 Sep 2016 21:41:52 -0700 Subject: [PATCH] Fixed bug in haproxy.jinja that put all 'extra' lines from an extra array on the same line in the config --- haproxy/templates/haproxy.jinja | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/haproxy/templates/haproxy.jinja b/haproxy/templates/haproxy.jinja index 2411b4f..4e2fc96 100644 --- a/haproxy/templates/haproxy.jinja +++ b/haproxy/templates/haproxy.jinja @@ -551,7 +551,9 @@ backend {{ backend.get('name', backend_name) }} {%- if backend.extra is string %} {{ backend.extra }} {%- else %} - {%- for line in backend.extra %} {{ line }} {%- endfor %} + {%- for line in backend.extra %} + {{ line }} + {%- endfor %} {%- endif %} {%- endif %} {%- if 'defaultserver' in backend %}