ukhas / habcloud-salt-states

HabCloud Salt States
0 stars 2 forks source link

targeting for exim satellite state is not working #5

Closed danielrichman closed 9 years ago

danielrichman commented 9 years ago

it's not being applied to VMs.

danielrichman commented 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.

danielrichman commented 9 years ago

This works: sudo salt -C '* and not scratch.vm.habhub.org' test.ping wat.

danielrichman commented 9 years ago

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

<_<