diff --git a/apache/mod_wsgi.sls b/apache/mod_wsgi.sls index aa3fd21..fd00ac6 100644 --- a/apache/mod_wsgi.sls +++ b/apache/mod_wsgi.sls @@ -9,7 +9,7 @@ mod_wsgi: - require: - pkg: apache -{% if apache.conf_mod_wsgi %} +{% if 'conf_mod_wsgi' in apache %} {{ apache.conf_mod_wsgi }}: file.uncomment: - regex: LoadModule