Skip to content

Instantly share code, notes, and snippets.

@kylegato
Created September 18, 2014 17:18
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 kylegato/2c9c8b72872b314018f0 to your computer and use it in GitHub Desktop.
Save kylegato/2c9c8b72872b314018f0 to your computer and use it in GitHub Desktop.
Config:
nodegroups:
deploytargets: 'L@bd0.*.la.company.com or noc.la.company.com or is*.la.company.com or director*.la.company.com or cron.la.company.com'
[root@salt /usr/local/etc/salt/states/wd-config]# salt -N deploytargets test.ping -v
Executing job with jid 20140918095711307264
-------------------------------------------
director0.la.company.com:
True
cron.la.company.com:
True
is1.la.company.com:
True
noc.la.company.com:
True
is0.la.company.com:
True
director1.la.company.com:
True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment