Skip to content

Commit

Permalink
fix(tojson): use |json to support older minions for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Oct 15, 2019
1 parent 038660c commit 4bf828e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions strongswan/config.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down Expand Up @@ -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 %}
Expand Down

0 comments on commit 4bf828e

Please sign in to comment.