From 64434daecb75ad4fe97f99c3f45757fb7336579f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Javier=20B=C3=A9rtoli?= <javier@netmanagers.com.ar>
Date: Sun, 10 Feb 2019 15:35:25 -0300
Subject: [PATCH] Fix wrong yaml parsing (#253)

---
 apache/config.sls | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/apache/config.sls b/apache/config.sls
index 9caeaae..dd3cb9b 100644
--- a/apache/config.sls
+++ b/apache/config.sls
@@ -29,7 +29,7 @@ include:
       - module: apache-reload
       - service: apache
     - context:
-      apache: {{ apache }}
+      apache: {{ apache | json }}
 
 {{ apache.vhostdir }}:
   file.directory:
@@ -72,7 +72,7 @@ include:
       - module: apache-reload
       - service: apache
     - context:
-      apache: {{ apache }}
+      apache: {{ apache | json }}
 
 {% endif %}
 
@@ -104,7 +104,7 @@ include:
       - module: apache-reload
       - service: apache
     - context:
-      apache: {{ apache }}
+      apache: {{ apache | json }}
 {% endif %}
 
 {% if grains['os_family']=="FreeBSD" %}
@@ -136,5 +136,5 @@ include:
       - module: apache-reload
       - service: apache
     - context:
-      apache: {{ apache }}
+      apache: {{ apache | json }}
 {% endif %}
-- 
GitLab