Skip to content

Instantly share code, notes, and snippets.

@dlam26
Created February 18, 2016 01:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlam26/0526fc12b1c1bc7322b5 to your computer and use it in GitHub Desktop.
Save dlam26/0526fc12b1c1bc7322b5 to your computer and use it in GitHub Desktop.
cant find syntax errror x__x
{#
Getting this error:
local:
Data failed to compile:
----------
State 'put_stuff_back_to_755' in SLS u'app.folders' is not formed as a list
#}
put_stuff_back_to_755: # FIXME cuz the above blindly 666's all the files ^
{% for file in pillar.put_back_to_755_permissions_files %}
{{ pillar.app.directories.django_code }}/{{ file }}:
file.managed:
- mode: 755
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment