formula-postfix/postfix/map.jinja
2015-03-13 20:26:27 +08:00

14 lines
391 B
Django/Jinja

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