paulbsd-salt/states/postfix/templates/main.cf.j2
2020-07-19 14:13:51 +02:00

6 lines
316 B
Django/Jinja

## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
{%- from "postfix/map.jinja" import postfix with context %}
{%- for key, value in postfix.config.main.items() %}
{{ key }} = {% if value is iterable and value is not string -%}{{ value|join(',') }}{%- else -%}{{ value }}{%- endif -%}
{%- endfor %}