Merge pull request #54 from netmanagers/master

Use join() for iterable values in main.cf
This commit is contained in:
Niels Abspoel 2017-03-28 17:08:19 +02:00 committed by GitHub
commit d1dfca2398

View File

@ -8,9 +8,7 @@
{{ parameter }} = {{ value }}
{%- elif value is iterable -%}
{{ parameter }} =
{%- for v in value %}
{{ v }},
{%- endfor %}
{{ value | join(', ')}}
{%- endif -%}
{%- do processed_parameters.append(parameter) %}
{%- endif %}