grains & pillar: maybe we need some doc to burn in marber
I was used to use grains inside exec module which were in turn used inside an ext_pillar module.
Until one month earlier, those grains used to resolve to the master grains, but are now resolving to the minion which is asking for it's pillar.
Is that the wanted behavior, or just the emergence of a new regression ?
ThomasHatch just said me: the grains in ext_pillar should be the minion grains, that was a bug cc @thatch45
Thanks for the report..
This is not a bug but maybe a documentation miss, as a bad student, i do not read many docs on saltstack now that i'm used to it, just for the documentation team not to forget to mention about it if it is not clear.
I don't actually think this needs to be explicitly documented -- I think having minion grains in ext_pillar calls is intuitive, as that's how it works in normal pillar as well. The reason this caught you is because you came to rely on the behavior that was a bug.
Based on that, I'm going to close this issue. Please comment if you disagree.