saltstack/salt — pull request #10305 by halfss (2014-02-09 15:10:33+00:00)
Title: exactly match minion in list

My nodegroup:

nodegroups:
bug: L@192.168.1.172,192.168.1.173

run cmd with the "bug" group, and i have a minion with name "192.168.1.17", will like this:

[root@salt-master salt]# salt -N bug cmd.run 'uptime' -v
Executing job with jid 20140209210600669692
-------------------------------------------
192.168.1.172:
21:06:01 up 87 days, 5:55, 0 users, load average: 0.00, 0.00, 0.00
192.168.1.173:
21:06:01 up 120 days, 4:59, 0 users, load average: 0.03, 0.03, 0.00
192.168.1.17: (should not be here)
Minion did not return