From d0c958dd8789f5492b6f748a62ab32ae171c4c6e Mon Sep 17 00:00:00 2001 From: Seth House Date: Mon, 26 Aug 2013 20:45:57 -0600 Subject: [PATCH] mod_wsgi requires apache --- apache/mod_wsgi.sls | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apache/mod_wsgi.sls b/apache/mod_wsgi.sls index 35ccfed..618f8a1 100644 --- a/apache/mod_wsgi.sls +++ b/apache/mod_wsgi.sls @@ -1,9 +1,14 @@ {% from "apache/package-map.jinja" import apache with context %} +include: + - apache + mod_wsgi: pkg: - installed - name: {{ apache.mod_wsgi }} + - require: + - pkg: apache {% if grains.get('os_family') == 'RedHat' %} /etc/httpd/conf.d/wsgi.conf: