Merge pull request #77 from bawuenet/main_iteration
Improve handling of multiple values in main.cf
This commit is contained in:
commit
4fb57c98a8
@ -19,7 +19,7 @@
|
|||||||
{%- if value is number or value is string -%}
|
{%- if value is number or value is string -%}
|
||||||
{{ parameter }} = {{ value }}
|
{{ parameter }} = {{ value }}
|
||||||
{%- elif value is iterable -%}
|
{%- elif value is iterable -%}
|
||||||
{{ parameter }} = {{ value | join(', ')}}
|
{{ parameter }} = {{ value | join('\n') | indent(parameter | length + 3) }}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
{%- do processed_parameters.append(parameter) %}
|
{%- do processed_parameters.append(parameter) %}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user