Merge pull request #54 from netmanagers/master
Use join() for iterable values in main.cf
This commit is contained in:
commit
d1dfca2398
1 changed files with 1 additions and 3 deletions
|
@ -8,9 +8,7 @@
|
||||||
{{ parameter }} = {{ value }}
|
{{ parameter }} = {{ value }}
|
||||||
{%- elif value is iterable -%}
|
{%- elif value is iterable -%}
|
||||||
{{ parameter }} =
|
{{ parameter }} =
|
||||||
{%- for v in value %}
|
{{ value | join(', ')}}
|
||||||
{{ v }},
|
|
||||||
{%- endfor %}
|
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- do processed_parameters.append(parameter) %}
|
{%- do processed_parameters.append(parameter) %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in a new issue