Skip to content

Instantly share code, notes, and snippets.

@dlanderson
Created February 25, 2014 21:15
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 dlanderson/e382e01daf4d0a817958 to your computer and use it in GitHub Desktop.
Save dlanderson/e382e01daf4d0a817958 to your computer and use it in GitHub Desktop.
(salt-dev)root@salt:/srv/pillar/base# cat top.sls
base:
'*':
- all
- merge
(salt-dev)root@salt:/srv/pillar/base# cat all.sls
foo:
bar: baz
abc: xyz
aaa:
ggg: fff
(salt-dev)root@salt:/srv/pillar/base# cat merge.sls
foo:
aaa:
ccc: ddd
(salt-dev)root@web1:/# salt-call pillar.data
local:
----------
foo:
----------
aaa:
----------
ccc:
ddd
ggg:
fff
abc:
xyz
bar:
baz
@huntermatthews
Copy link

Output from salt france pillar.items
france:
----------
dev:
True
foo:
----------
aaa:
----------
ggg:
fff
abc:
xyz
bar:
baz
[UNRELATED DATA ELIDED]

top.sls
france:
- all
- merge

all.sls
foo:
bar: baz
abc: xyz
aaa:
ggg: fff

merge.sls
foo:
aaa:
ccc: ddd

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