apache-formula/apache/mod_wsgi.sls

16 lines
305 B
Plaintext
Raw Normal View History

2013-08-27 04:45:38 +02:00
{% from "apache/package-map.jinja" import apache with context %}
2013-08-14 00:51:38 +02:00
mod_wsgi:
pkg:
- installed
2013-08-27 04:45:38 +02:00
- name: {{ apache.mod_wsgi }}
2013-08-14 00:51:38 +02:00
{% if grains.get('os_family') == 'RedHat' %}
/etc/httpd/conf.d/wsgi.conf:
file:
- uncomment
- regex: LoadModule
- require:
- pkg: mod_wsgi
{% endif %}