Google Groups

Re: pillar matcher?

Thomas Hatch May 17, 2012 8:57 AM
Posted in group: Salt-users
Yes, I am definitely open to having a pillar matcher! In reality it should not be too hard to add if you want to take a swing at it.

On Thu, May 17, 2012 at 8:58 AM, Tom Vaughan <> wrote:
I know there is no pillar matcher currently. Is there something that would prevent me from writing a pillar matcher?

I had played around with something like this in salt/top.sls:

      - match: grain

This was set in the minion config. But now I want this set in pillar/top.sls on the master. So all I want to be able to do is swap "match: grain" with "match: pillar" in the example above.