updated postfix state

This commit is contained in:
Paul 2020-07-19 14:32:59 +02:00
parent c66b9ecf0a
commit e75d6efbf9
3 changed files with 6 additions and 3 deletions

View File

@ -8,7 +8,7 @@ postfix-pgsql-dir:
postfix-main-cf: postfix-main-cf:
file.managed: file.managed:
- name: {{ postfix.base_dir }}/pgsql/main.cf - name: {{ postfix.base_dir }}/main.cf
- source: salt://postfix/templates/main.cf.j2 - source: salt://postfix/templates/main.cf.j2
- user: root - user: root
- group: root - group: root
@ -37,7 +37,9 @@ postfix-pgsql-{{ key }}:
- group: root - group: root
- mode: 644 - mode: 644
- template: jinja - template: jinja
- context: {{ value }} - context:
value: |
{{ value|indent(8) }}
- watch_in: - watch_in:
- service: postfix-service - service: postfix-service
{% endfor %} {% endfor %}

View File

@ -0,0 +1 @@
{{ value }}