2014-08-19 20:32:47 -04:00
|
|
|
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
|
2014-08-19 21:42:08 -04:00
|
|
|
- require:
|
|
|
|
- pkg: postfix
|
2014-08-19 20:32:47 -04:00
|
|
|
- watch_in:
|
2014-08-19 21:46:15 -04:00
|
|
|
- service: postfix
|
2014-08-19 20:32:47 -04:00
|
|
|
- template: jinja
|
2015-02-05 03:57:18 -05:00
|
|
|
|
|
|
|
/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
|
|
|
|
|