Last active
September 26, 2016 11:45
-
-
Save l3m/90f4b309e21408feec2fc518633c3646 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
#### init.sls | |
{% for foo_install_part in [1, 2] %} | |
{% set foo_installer = salt['pillar.get']('foo_installer:' ~ foo_install_part) %} | |
download-{{ foo_installer }}: | |
- ... | |
{% endfor %} | |
##### /srv/pillar/data.sls | |
foo_installer: | |
1: filename_232323_1.zip | |
2: filename_373737_2.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this. Pillar file:
State: