mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
pass pillar to compound matcher in match module
This commit is contained in:
parent
ce3472cec2
commit
f0a71e8707
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue