apache-formula/apache/mod_wsgi.sls
2013-08-26 20:54:37 -06:00

16 lines
305 B
Plaintext

{% from "apache/package-map.jinja" import apache with context %}
mod_wsgi:
pkg:
- installed
- name: {{ apache.mod_wsgi }}
{% if grains.get('os_family') == 'RedHat' %}
/etc/httpd/conf.d/wsgi.conf:
file:
- uncomment
- regex: LoadModule
- require:
- pkg: mod_wsgi
{% endif %}