4.3. Subnet/IP Address MatchingΒΆ

Minions can easily be matched based on IP address, or by subnet (using CIDR notation).

salt -S 192.168.40.20 test.ping
salt -S 10.0.0.0/24 test.ping

Note

Only IPv4 matching is supported at this time.

Docs for previous releases are available on salt.rtfd.org.

Latest Salt release: 2014.1.13

Try the shiny new release candidate of Salt, v2014.7.0rc6! More info here.

Previous topic

4.2. Grains

Next topic

4.4. Compound matchers

SaltStack News

Upcoming SaltStack events, webinars and local meet ups and user groups.