Fixed bug in haproxy.jinja that put all 'extra' lines from an extra array on the same line in the config
This commit is contained in:
parent
b69c7edebd
commit
991a502636
1 changed files with 3 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue