paulbsd-salt/states/postfix/templates/main.cf.j2

6 lines
316 B
Plaintext
Raw Normal View History

2020-07-10 00:58:55 +02:00
## {{ 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 %}