mod_wsgi requires apache

This commit is contained in:
Seth House 2013-08-26 20:45:57 -06:00
parent 3f8a1edb97
commit d0c958dd87

View File

@ -1,9 +1,14 @@
{% from "apache/package-map.jinja" import apache with context %} {% from "apache/package-map.jinja" import apache with context %}
include:
- apache
mod_wsgi: mod_wsgi:
pkg: pkg:
- installed - installed
- name: {{ apache.mod_wsgi }} - name: {{ apache.mod_wsgi }}
- require:
- pkg: apache
{% if grains.get('os_family') == 'RedHat' %} {% if grains.get('os_family') == 'RedHat' %}
/etc/httpd/conf.d/wsgi.conf: /etc/httpd/conf.d/wsgi.conf: