From 4bf828e1922aae4e06fb4fb6bc65f1c802ecc9ee Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Tue, 15 Oct 2019 15:26:33 +0100 Subject: [PATCH] fix(tojson): use `|json` to support older minions for the time being --- strongswan/config.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strongswan/config.sls b/strongswan/config.sls index 8aa3cb2..44feca2 100644 --- a/strongswan/config.sls +++ b/strongswan/config.sls @@ -78,7 +78,7 @@ ipsec-conn-{{ connection }}-config: - mode: 644 - context: connection: {{ connection }} - data: {{ data|tojson }} + data: {{ data|json }} - watch_in: - service: strongswan-service {% endfor %} @@ -129,7 +129,7 @@ ipsec-secret-{{ secret }}-config: - mode: 600 - context: secret: {{ secret }} - data: {{ data|tojson }} + data: {{ data|json }} - watch_in: - service: strongswan-service {% endfor %}