re-enable Pillar postfix:aliases:content
This commit is contained in:
parent
014c5227bc
commit
f4a10a2843
1 changed files with 4 additions and 0 deletions
|
@ -31,7 +31,11 @@ postfix:
|
||||||
postfix_alias_database:
|
postfix_alias_database:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: {{ file_path }}
|
- 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
|
- source: salt://postfix/files/mapping.j2
|
||||||
|
{% endif %}
|
||||||
- user: root
|
- user: root
|
||||||
- group: {{ postfix.root_grp }}
|
- group: {{ postfix.root_grp }}
|
||||||
- mode: 644
|
- mode: 644
|
||||||
|
|
Loading…
Reference in a new issue