mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #43168 from rallytime/bp-43041
Back-port #43041 to 2017.7
This commit is contained in:
commit
034c325a09
1 changed files with 1 additions and 1 deletions
|
@ -561,7 +561,7 @@ def ext_pillar(minion_id, repo, pillar_dirs):
|
|||
)
|
||||
for pillar_dir, env in six.iteritems(pillar.pillar_dirs):
|
||||
# If pillarenv is set, only grab pillars with that match pillarenv
|
||||
if opts['pillarenv'] and env != opts['pillarenv']:
|
||||
if opts['pillarenv'] and env != opts['pillarenv'] and env != '__env__':
|
||||
log.debug(
|
||||
'env \'%s\' for pillar dir \'%s\' does not match '
|
||||
'pillarenv \'%s\', skipping',
|
||||
|
|
Loading…
Add table
Reference in a new issue