I am using an orchestration state to manage a file, then run a cmd, then
run a highstate against the new minion. The problem I have is my sls wont
use the mine.get data like I would expect.
orchestration/newminion.sls
run_highstate:
salt.state:
- tgt: new_minon
- highstate: True
{% for minion, build in salt['mine.get']('existing_minion', 'build_number')
%}
- pillar:
build: {{ build }}
{% endfor %}
We set the "build_number" when initially launching instances and I can
verify that running salt '*' mine.get '*' build_number (mine alias) returns
the correct number. The highstate runs fine with the exception is throws an
error that the pillar build is not set.
Any ideas?
Thank you
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.