mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #38823 from gtmanfred/2016.3
pass pillar to compound matcher in match module
This commit is contained in:
commit
dfe6dfe963
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