postfix-formula/postfix/map.jinja

27 lines
765 B
Plaintext
Raw Normal View History

2015-02-26 16:19:08 +01:00
{% set postfix = salt['grains.filter_by']({
'Debian': {
'packages': ['postfix', 'postfix-policyd-spf-python'],
'postgrey_pkg': 'postgrey',
2015-02-26 16:19:08 +01:00
'service': 'postfix',
'aliases': '/etc/aliases',
2015-02-26 16:19:08 +01:00
},
'Gentoo': {
'packages': ['mail-mta/postfix'],
'postgrey_pkg': 'postgrey',
2015-02-26 16:19:08 +01:00
'service': 'postfix',
'aliases': '/etc/mail/aliases',
2015-02-26 16:19:08 +01:00
},
2015-03-13 13:26:27 +01:00
'RedHat': {
'packages': ['postfix'],
'postgrey_pkg': 'postgrey',
2015-03-13 13:26:27 +01:00
'service': 'postfix',
'aliases': '/etc/aliases',
2015-03-13 13:26:27 +01:00
},
'Arch' : {
'packages': ['postfix'],
'postgrey_pkg': 'postgrey',
'service': 'postfix',
'aliases': '/etc/aliases',
},
2015-02-26 16:19:08 +01:00
}, merge=salt['pillar.get']('postfix:lookup')) %}