updated postfix state
This commit is contained in:
parent
c66b9ecf0a
commit
e75d6efbf9
@ -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 %}
|
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