Closed danielrichman closed 9 years ago
sudo salt -C 'support.vm.habhub.org or not scratch.vm.habhub.org' test.ping
matches everything but scratch.
sudo salt -C 'not scratch.vm.habhub.org' test.ping
matches nothing.
This works: sudo salt -C '* and not scratch.vm.habhub.org' test.ping
wat.
Oh right, from the salt docs
Note that a leading not is not supported in compound matches. Instead, something like the following must be done.
salt -C '* and not G@kernel:Darwin' test.ping
<_<
it's not being applied to VMs.