Created
December 29, 2015 08:04
-
-
Save mjinks/43a60d36291db8f4243a to your computer and use it in GitHub Desktop.
i just want to walk a damn list
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
{% for name in {{ pillar['damnjava']['apps'] }} %} | |
java_app_{{ name }}: | |
file.symlink: | |
- name: /etc/alternatives/{{ name }} | |
- target: /opt/software/java/bin/{{ name }} | |
{% endfor %} |
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
damnjava: | |
apps: | |
- ControlPanel | |
- servertool | |
- java-rmi.cgi | |
- schemagen | |
- jstack | |
- javafxpackager | |
- jmc | |
[...] |
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
---------- | |
Rendering SLS 'base:animate-app-group.java7' failed: Jinja syntax error: expected token ':', got '}'; line 19 | |
--- | |
[...] | |
{% for name in {{ pillar['damnjava']['apps'] }} %} <====================== | |
java_app_{{ name }}: | |
file.symlink: | |
- name: /etc/alternatives/{{ name }} | |
- target: /opt/software/java/bin/{{ name }} | |
{% endfor %} | |
[...] | |
--- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment