36 lines
620 B
Plaintext
36 lines
620 B
Plaintext
include:
|
|
- postfix
|
|
|
|
/etc/postfix:
|
|
file.directory:
|
|
- user: root
|
|
- group: root
|
|
- dir_mode: 755
|
|
- file_mode: 644
|
|
- makedirs: True
|
|
|
|
/etc/postfix/main.cf:
|
|
file.managed:
|
|
- source: salt://postfix/files/main.cf
|
|
- user: root
|
|
- group: root
|
|
- mode: 644
|
|
- require:
|
|
- pkg: postfix
|
|
- watch_in:
|
|
- service: postfix
|
|
- template: jinja
|
|
|
|
/etc/postfix/master.cf:
|
|
file.managed:
|
|
- source: salt://postfix/files/master.cf
|
|
- user: root
|
|
- group: root
|
|
- mode: 644
|
|
- require:
|
|
- pkg: postfix
|
|
- watch_in:
|
|
- service: postfix
|
|
- template: jinja
|
|
|