15 lines
403 B
Django/Jinja
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')) %}
|