Add exclude_ext_pillar option

This commit is contained in:
Thomas S Hatch 2015-12-18 12:30:49 -07:00
parent 329a62e021
commit 92eca34419

View File

@ -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 {}