formula-postfix/postfix/map.jinja

19 lines
488 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',
},
'Arch' : {
'packages': ['postfix', 'postgrey'],
'service': 'postfix',
},
}, merge=salt['pillar.get']('postfix:lookup')) %}