G'Day all,
I am pulling what hair I have left out trying to get a list of servernames passed into an orchestration:
/srv/pillar/wp-servers.sls
servers:
- wp-nginx-01
- wp-nginx-02
- wp-haproxy-01
- wp-redis-01
- wp-db-01
What should my "pillar="" command line option look like to reference the actual file?I even added it to /srv/pillar/top.sls under the base to force it to be included and no luck.
Also in my orchestration SLS file, I assume I can just use:
{% set wp_servers = salt['pillar.get']('servers') %}
I understand the runner has no idea of minions but surly I can pass in a file fo data rather than hardcode it in the SLS file (last resort).
Very frustrating!
Sid