2015-02-26 10:19:08 -05:00
|
|
|
{% set postfix = salt['grains.filter_by']({
|
|
|
|
'Debian': {
|
|
|
|
'packages': ['postfix', 'postfix-policyd-spf-python'],
|
2015-07-11 05:31:11 -04:00
|
|
|
'postgrey_pkg': 'postgrey',
|
2015-02-26 10:19:08 -05:00
|
|
|
'service': 'postfix',
|
|
|
|
},
|
|
|
|
'Gentoo': {
|
|
|
|
'packages': ['mail-mta/postfix'],
|
2015-07-11 05:31:11 -04:00
|
|
|
'postgrey_pkg': 'postgrey',
|
2015-02-26 10:19:08 -05:00
|
|
|
'service': 'postfix',
|
|
|
|
},
|
2015-03-13 08:26:27 -04:00
|
|
|
'RedHat': {
|
|
|
|
'packages': ['postfix'],
|
2015-07-11 05:31:11 -04:00
|
|
|
'postgrey_pkg': 'postgrey',
|
2015-03-13 08:26:27 -04:00
|
|
|
'service': 'postfix',
|
|
|
|
},
|
2015-05-02 21:01:09 -04:00
|
|
|
'Arch' : {
|
2015-07-11 05:31:11 -04:00
|
|
|
'packages': ['postfix'],
|
|
|
|
'postgrey_pkg': 'postgrey',
|
2015-05-02 21:01:09 -04:00
|
|
|
'service': 'postfix',
|
|
|
|
},
|
2015-02-26 10:19:08 -05:00
|
|
|
}, merge=salt['pillar.get']('postfix:lookup')) %}
|