Skip to content

Instantly share code, notes, and snippets.

@kaithar
Last active August 29, 2015 13:55
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 kaithar/70c5e17d8d7f0326246f to your computer and use it in GitHub Desktop.
Save kaithar/70c5e17d8d7f0326246f to your computer and use it in GitHub Desktop.
# top.sls
base:
'*':
- testing
- testing2
# testing.sls
ship:
oil: yes
paper: yes
front: no
# testing2.sls
ship:
metal: yes
paper: no
front: yes
# salt dan-test-1 pillar.get ship
dan-test-1:
----------
front:
True
metal:
True
oil:
True
paper:
False
# salt '*' pillar.get ship| egrep -v '(True|False|front|metal|paper)'
# salt '*' grains.get saltversion
Correct response received from minions running:
0.15.3
0.16.4
2014.1.0-599-g9897da6
2014.1.0-837-g4fa777c
No response received from two minions, both running 0.16.4, both show right results when queried directly with pillar.items.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment