pass pillar to compound matcher in match module

This commit is contained in:
Daniel Wallace 2017-01-19 08:45:50 -06:00
parent ce3472cec2
commit f0a71e8707

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)