postfix-formula/postfix/map.jinja
Gilles Dartiguelongue 197c85bc1c Simplify postfix package handling
It is only one package for all listed distributions.
2015-08-22 13:26:46 +02:00

27 lines
735 B
Django/Jinja

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