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 -%}
|
||||
{{ parameter }} = {{ value }}
|
||||
{%- elif value is iterable -%}
|
||||
{{ parameter }} = {{ value | join(', ')}}
|
||||
{{ parameter }} = {{ value | join('\n') | indent(parameter | length + 3) }}
|
||||
{%- endif -%}
|
||||
{%- do processed_parameters.append(parameter) %}
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user