mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Ensure that ext_pillar begins with pillar_override if ext_pillar_first is True
This commit is contained in:
parent
f951266944
commit
97dd8a13d9
@ -824,7 +824,9 @@ class Pillar(object):
|
||||
top, top_errors = self.get_top()
|
||||
if ext:
|
||||
if self.opts.get('ext_pillar_first', False):
|
||||
self.opts['pillar'], errors = self.ext_pillar({}, pillar_dirs)
|
||||
self.opts['pillar'], errors = self.ext_pillar(
|
||||
self.pillar_override,
|
||||
pillar_dirs)
|
||||
self.rend = salt.loader.render(self.opts, self.functions)
|
||||
matches = self.top_matches(top)
|
||||
pillar, errors = self.render_pillar(matches, errors=errors)
|
||||
|
Loading…
Reference in New Issue
Block a user