updated postfix state
This commit is contained in:
parent
c66b9ecf0a
commit
e75d6efbf9
@ -8,7 +8,7 @@ postfix-pgsql-dir:
|
||||
|
||||
postfix-main-cf:
|
||||
file.managed:
|
||||
- name: {{ postfix.base_dir }}/pgsql/main.cf
|
||||
- name: {{ postfix.base_dir }}/main.cf
|
||||
- source: salt://postfix/templates/main.cf.j2
|
||||
- user: root
|
||||
- group: root
|
||||
@ -37,7 +37,9 @@ postfix-pgsql-{{ key }}:
|
||||
- group: root
|
||||
- mode: 644
|
||||
- template: jinja
|
||||
- context: {{ value }}
|
||||
- context:
|
||||
value: |
|
||||
{{ value|indent(8) }}
|
||||
- watch_in:
|
||||
- service: postfix-service
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
1
states/postfix/templates/plain.cf.j2
Normal file
1
states/postfix/templates/plain.cf.j2
Normal file
@ -0,0 +1 @@
|
||||
{{ value }}
|
Loading…
Reference in New Issue
Block a user