saltstack/salt — Issue #782: grain match in lists finds substrings
Author: pille
Created: 2012-02-28 12:23:29+00:00
State: open

having a location defined:

grains:
location:
- datacenter1

the following matches will succeed.
only the first one should:

'G@location:datacenter1':
- match: compound
- ...

'G@location:datacenter':
- match: compound
- ...

'G@location:data':
- match: compound
- ...