-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty pillar variable #8
Comments
Would it be possible for you to test your configuration under PillarStack? |
I've updated the master config to have:
And dropped the above files into Now I see
And the So it does look like a |
OK - I just managed to solve this one. It turns out that if you have stack config and pillars in the same git repo, then you must put the
I'm guessing what happens is that I'm guessing this will never have been spotted if Could you update the documentation to reflect this? (There's also a minor bug in that the configuration yaml for |
That makes sense. It wasn't clear to me that you were using the Git pillar. I assumed you were using the standard, built-in, pillar and I was having a very hard time understanding the issue. |
@mrichar1 I've added some documentation on pillar chaining. Please let me know if this looks sufficient. |
That looks great - thanks! |
Hi - I'm currently trying to use gitstack following the pillarstack docs with the example of iterating over the 'roles' as shown here: https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.stack.html#pillarstack-configuration-files
My config looks like this:
top.sls
minions/server1.sls
stack.cfg
When I call
salt 'server1' pillar.items
I see:However none of the data in
roles/a.sls
orroles/b.sls
is ever included.I wasn't sure the best way to debug the stack state, so for testing I put the following in
stack.cfg
:This results in the following in the logs:
Any ideas why
pillar
is an empty dict?The text was updated successfully, but these errors were encountered: