Merge pull request #38823 from gtmanfred/2016.3

pass pillar to compound matcher in match module
This commit is contained in:
Mike Place 2017-01-20 12:19:09 -07:00 committed by GitHub
commit dfe6dfe963

View file

@ -37,7 +37,7 @@ def compound(tgt, minion_id=None):
salt '*' match.compound 'L@cheese,foo and *'
'''
opts = {'grains': __grains__}
opts = {'grains': __grains__, 'pillar': __pillar__}
if minion_id is not None:
if not isinstance(minion_id, string_types):
minion_id = str(minion_id)