Created
September 23, 2017 18:05
-
-
Save anonymous/73b39493e93138f21e2c0b6c1efce96a 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
Data failed to compile: | |
---------- | |
Rendering SLS 'dev:set_grains' failed: Jinja syntax error: expected token 'end of statement block', got '='; line 13 | |
--- | |
[...] | |
{% if salt['file.search']('{{ programfiles }}\path-to-file', 'string-to-find') = True %} <====================== | |
{% set value = 'stuff' %} | |
{% elif salt['file.search']('{{ programfiles }}\path-to-file', 'string-to-find') = True %} | |
{% set value = 'things' %} | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment