Introspection in Jinja Template in SaltStack
We would like to add some template files to a file written for minions via Salt; basically, notice that the file is managed by Salt, as well as the state that generates it.
I cannot find the status information. It seems he is not in opts
. salt-call state.sls foo
provides what I'm looking for, but state.sls
cannot be called from a Jinja template.
Did I miss something? Or is this not possible without, say, writing a Jinja extension that sandboxes Salt?
+3
source to share