apache-formula/apache/package-map.jinja
2013-08-26 20:54:37 -06:00

15 lines
403 B
Django/Jinja

{% set apache = salt['grains.filter_by']({
'Debian': {
'server': 'apache2',
'service': 'apache2',
'conf': '/etc/apache2/conf.d',
'mod_wsgi': 'libapache2-mod-wsgi',
},
'RedHat': {
'server': 'httpd',
'service': 'httpd',
'conf': '/etc/httpd/conf.d',
'mod_wsgi': 'mod_wsgi',
},
}, merge=salt['pillar.get']('apache:lookup')) %}