The only context variable in the .sls files the Reactor invokes is {{
data }} which contains the event data and nothing else. Reactor .sls
files, speaking generally, should be exceedingly small and simple --
maybe do a sanity check on the event data, then kick off another
process that is more grand in scope.
From your description it sounds like your custom module must be run
from the master, is that right? Is it a runner module? If so, you
could call your runner module from the reactor file with
``runner.yourmodule.yourfunction`` and your runner module could grab
the grains for that minion from the grains cache on the master:
http://docs.saltstack.com/ref/runners/all/salt.runners.cache.html#salt.runners.cache.grains
> --
> 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
salt-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.