We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tojson
1 parent 86d6ff9 commit f7bf766Copy full SHA for f7bf766
template/config/file.sls
@@ -25,4 +25,4 @@ template-config-file-file-managed:
25
- require:
26
- sls: {{ sls_package_install }}
27
- context:
28
- template: {{ template | json }}
+ template: {{ template | tojson }}
template/files/default/example.tmpl.jinja
@@ -6,6 +6,6 @@
6
This is another example file from SaltStack template-formula.
7
8
# This is here for testing purposes
9
-{{ template | json }}
+{{ template | tojson }}
10
11
winner of the merge: {{ template['winner'] }}
0 commit comments