Merge pull request #77 from bawuenet/main_iteration

Improve handling of multiple values in main.cf
This commit is contained in:
Javier Bértoli 2018-09-29 08:42:20 -03:00 committed by GitHub
commit 4fb57c98a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 %}