197c85bc1c
It is only one package for all listed distributions.
27 lines
735 B
Django/Jinja
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')) %}
|