Merge pull request #72 from asenci/fix_duplicated_maps

Fix duplicated mapping parameters on main.cf
This commit is contained in:
Javier Bértoli 2018-09-01 09:44:28 -03:00 committed by GitHub
commit f8cebbfe8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,7 +129,7 @@ policy-spf_time_limit = {{ policyd_spf.get('time_limit', '3600s') }}
{%- set file_path = postfix.config_path ~ '/' ~ file_path %}
{%- endif %}
{{ mapping }} = {{ file_type }}:{{ file_path }}
{{ set_parameter(mapping, file_type ~ ':' ~ file_path) }}
{% endfor %}
{# Accept arbitrary parameters -#}