Skip to content

Instantly share code, notes, and snippets.

@jalons

jalons/template Secret

Created January 7, 2015 17:03
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 jalons/fb2abc83d1bdf59e09cd to your computer and use it in GitHub Desktop.
Save jalons/fb2abc83d1bdf59e09cd to your computer and use it in GitHub Desktop.
{% set foo_list = ['foo', 'bar'] %}
{% for foo in foo_list %}
{% for a in salt['pillar.get']('external_pillar:{{foo}}') %}
some_dummy_file_for_{{a}}:
file.managed:
- name: /tmp/{{a}}
{% endfor %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment