Skip to content

Instantly share code, notes, and snippets.

@mjinks
Created May 13, 2016 20:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mjinks/efd2282649723f738560b6ea8dd44fcc to your computer and use it in GitHub Desktop.
Save mjinks/efd2282649723f738560b6ea8dd44fcc to your computer and use it in GitHub Desktop.
How do I find my external pillar?
old/test-users.sls
new/customers.sls
#...where 'old' and 'new' are directories parralel to 'first-try.cfg', and
# the files are in pillar format... that's beside the point at this stage
# i think, since i don't even get errors that complain about them]
saltlab04:
- stack/first-try
# [this is a guess, and wrong... either that, or something deeper
# in my setup is failing to yield up any pillar-like data for us
# to refer to here...]
# Refreshing my pillar suggests there's nothing to be seen here:
# $ sudo salt 'saltlab04*' saltutil.refresh_pillar
# saltlab04.chi5.prlss.int:
# None
$ time sudo salt-call pillar.items
local:
----------
_errors:
- Specified SLS 'stack/first-try' in environment 'base' is not available on the salt master
@jfindlay
Copy link

@mjinks, your pillar top file looks wrong. I would expect it to look like this:

base:
  saltlab04:
    - stack/first-try

@mjinks
Copy link
Author

mjinks commented May 13, 2016

To clarify: my top file does look like that; my initial post just left out 'base:' because there's lots else further up. (All of which has been working fine for months, and still does.) There's also some other pillar data in the minion's listing that does work fine currently, so this isn't a broad failure in my pillar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment