Skip to content

salt['network.ip_networks'] always returns master nets, not minion nets, when used in pillar data #66064

Closed Answered by max-arnold
bchill asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected, because states are rendered on a minion, but pillar is rendered on the master. When you call the network.ip_networks execution module in a pillar file, it runs on the master and returns master networks.

The grains dictionary on the master is different and returns grains for each minion that asked for its pillar data.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@bchill
Comment options

Answer selected by bchill
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants