re-enable Pillar postfix:aliases:content

This commit is contained in:
Alexander Weidinger 2017-12-28 21:42:23 +01:00
parent 014c5227bc
commit f4a10a2843
1 changed files with 4 additions and 0 deletions

View File

@ -31,7 +31,11 @@ postfix:
postfix_alias_database:
file.managed:
- name: {{ file_path }}
{% if salt['pillar.get']('postfix:aliases:content', None) is string %}
- contents_pillar: postfix:aliases:content
{% else %}
- source: salt://postfix/files/mapping.j2
{% endif %}
- user: root
- group: {{ postfix.root_grp }}
- mode: 644