How to run a script from dom0 in a template?

There are many things I do not understand about Salt, and this is yet another one, but it re-ignites my motivation to get a handle on salt. Thank you.

More generally, does anyone know some documentation source, or a heavily commented set of files which might have helped me discover this?

…and which would help me more generally to understand the concepts behind and underlying salt.

[ I’ve tried the salt upstream, and various other sites, but I found myself confused by a lot of the docs and guides which seem to confound the concepts I am familiar with, like execution, state, action, etc.
Maybe it’s more obvious if one comes from ansible or something similar, but I don’t… and every time I try to work out what is happening in Salt it makes me feel really stupid! ]

1 Like