Skip to content

Instantly share code, notes, and snippets.

@jalons
Last active August 29, 2015 14:02
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 jalons/7e52c4491b14c1862939 to your computer and use it in GitHub Desktop.
Save jalons/7e52c4491b14c1862939 to your computer and use it in GitHub Desktop.
pillar targeting
[root@dev ~]$ salt \* pillar.item application
dev.domain.tld
----------
application:
----------
- foo:
0.9.9-release.2
$ salt -I 'application:*' test.ping
dev.domain.tld:
True
$ salt -I 'application:foo' test.ping
No minions matched the target. No command was sent, no jid was assigned.
$ salt -I 'application:foo:*' test.ping
No minions matched the target. No command was sent, no jid was assigned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment