saltstack/salt — pull request #17243 by basepi (2014-11-06 21:22:31+00:00)
Title: Enable pillar/compound matching in mine/publish, with no pillar globbing support

This should be reviewed carefully. With this patch, pillar and compound matching will work for both mine and publish functions. However, pillar matches will use exact matching, globbing is disabled. This is primarily accomplished with the changes to `subdict_match` in `salt.utils.minions.CkMinions`. I also added two new match types, `pillar_exact` and `compound_pillar_exact`, and ensure that those matches are used instead of `pillar` and `compound` respectively for all publish and mine queries.

I HAVE NOT TESTED THIS YET. I just wanted to get tests running. Testing now.