Open fpytloun opened 7 years ago
I think we did something similar to the pillar passthrough in the salt adapter using the __grains__
global, we could do this fairly trivially. I'll have to experiment with that a bit and see what we can come up with.
It would be good to be able to reference grains in the similar manner as plain pillar does. It's available eg. as one of globals to external pillars: https://docs.saltstack.com/en/latest/topics/development/external_pillars.html#ext-pillar