saltstack/salt — Issue #653: Add IP address or CIDR to compound matcher
Author: SEJeff
Created: 2012-02-07 06:23:21+00:00
State: open

We've had several users ask for the best way to do X for a cluster in the Y subnet. It seems easiest to just specify a state that matches an entire subnet. Adding this to the matcher would be a kind of cool way to implement it. Totally making this command line argument and example up, but something like this seems like it would be super useful:

```salt -S '192.168.1.0/24' cmd.run '/root/bin/setup_load_balancers.sh```

It seems like a good thing to support if possible.