mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix pillar merging when ext_pillar_first is enabled
ext_pillar was being merged into pillar, when it should have been the other way around. This means that when ext_pillar_first was enabled, pillar keys with the same name as ones defined in ext_pillar were being lost instead of overriding ext_pillar.
This commit is contained in:
parent
3e6b16de2b
commit
7d60e73308
1 changed files with 2 additions and 2 deletions
|
@ -791,8 +791,8 @@ class Pillar(object):
|
|||
self.opts['pillar'], errors = self.ext_pillar({}, pillar_dirs)
|
||||
matches = self.top_matches(top)
|
||||
pillar, errors = self.render_pillar(matches, errors=errors)
|
||||
pillar = merge(pillar,
|
||||
self.opts['pillar'],
|
||||
pillar = merge(self.opts['pillar'],
|
||||
pillar,
|
||||
self.merge_strategy,
|
||||
self.opts.get('renderer', 'yaml'),
|
||||
self.opts.get('pillar_merge_lists', False))
|
||||
|
|
Loading…
Add table
Reference in a new issue