postfix-formula/postfix/map.jinja
2015-07-11 05:31:11 -04:00

23 lines
620 B
Django/Jinja

{% set postfix = salt['grains.filter_by']({
'Debian': {
'packages': ['postfix', 'postfix-policyd-spf-python'],
'postgrey_pkg': 'postgrey',
'service': 'postfix',
},
'Gentoo': {
'packages': ['mail-mta/postfix'],
'postgrey_pkg': 'postgrey',
'service': 'postfix',
},
'RedHat': {
'packages': ['postfix'],
'postgrey_pkg': 'postgrey',
'service': 'postfix',
},
'Arch' : {
'packages': ['postfix'],
'postgrey_pkg': 'postgrey',
'service': 'postfix',
},
}, merge=salt['pillar.get']('postfix:lookup')) %}