postfix-formula/postfix/map.jinja

33 lines
1.0 KiB
Plaintext
Raw Normal View History

2015-02-26 16:19:08 +01:00
{% set postfix = salt['grains.filter_by']({
'Debian': {
'package': 'postfix',
2015-08-22 13:59:29 +02:00
'policyd_spf_pkg': 'postfix-policyd-spf-python',
'postgrey_pkg': 'postgrey',
'pcre_pkg': 'postfix-pcre',
'mysql_pkg': 'postfix-mysql',
2015-02-26 16:19:08 +01:00
'service': 'postfix',
'aliases_file': '/etc/aliases',
2015-02-26 16:19:08 +01:00
},
'Gentoo': {
'package': 'mail-mta/postfix',
2015-08-22 13:59:29 +02:00
'policyd_spf_pkg': 'mail-filter/pypolicyd-spf',
2015-08-22 12:40:09 +02:00
'postgrey_pkg': 'mail-filter/postgrey',
2015-02-26 16:19:08 +01:00
'service': 'postfix',
'aliases_file': '/etc/mail/aliases',
2015-02-26 16:19:08 +01:00
},
2015-03-13 13:26:27 +01:00
'RedHat': {
'package': 'postfix',
2015-08-22 13:59:29 +02:00
'policyd_spf_pkg': 'pypolicyd-spf',
'postgrey_pkg': 'postgrey',
2015-03-13 13:26:27 +01:00
'service': 'postfix',
'aliases_file': '/etc/aliases',
2015-03-13 13:26:27 +01:00
},
'Arch' : {
'package': 'postfix',
2015-08-22 13:59:29 +02:00
'policyd_spf_pkg': 'python-postfix-policyd-spf',
'postgrey_pkg': 'postgrey',
'service': 'postfix',
'aliases_file': '/etc/aliases',
},
2015-02-26 16:19:08 +01:00
}, merge=salt['pillar.get']('postfix:lookup')) %}