From ac071586e02e97549c600c8f994b5ef887bd914c Mon Sep 17 00:00:00 2001 From: Louis Haddrell Date: Fri, 5 Jan 2018 13:26:06 +0000 Subject: [PATCH] Replace apache.conf_mod_wsgi if statement syntax (fixes #209) --- apache/mod_wsgi.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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