Created
October 29, 2015 20:26
-
-
Save zls/857f161dec40cbe2da3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set foo = "state" %} | |
test escape quote: | |
salt.function: | |
- tgt: 'minion1*' | |
- name: cmd.run | |
- arg: | |
- "echo \"The \\\"{{ foo }}\\\" is high\" > /tmp/test" | |
$ cat /tmp/test | |
The "state" is high |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
command being run is:
echo "The "state" is high" > /tmp/test