diff --git a/apache/config.sls b/apache/config.sls
index 9caeaae6c2e1d34d1e761a2dcba028a9f640ea96..dd3cb9b799a635a57f4284897cbe016375eb29a0 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 %}