mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Add exclude_ext_pillar option
This commit is contained in:
parent
329a62e021
commit
92eca34419
@ -626,6 +626,8 @@ class Pillar(object):
|
||||
# Bring in CLI pillar data
|
||||
pillar.update(self.pillar_override)
|
||||
for run in self.opts['ext_pillar']:
|
||||
if run in self.opts['exclude_ext_pillar']:
|
||||
continue
|
||||
if not isinstance(run, dict):
|
||||
log.critical('The "ext_pillar" option is malformed')
|
||||
return {}
|
||||
|
Loading…
Reference in New Issue
Block a user