Merge pull request #36807 from terminalmage/issue36723

Fix pillar merging when ext_pillar_first is enabled
This commit is contained in:
Thomas S Hatch 2016-10-13 13:40:55 -06:00 committed by GitHub
commit c6254d59fd

View file

@ -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))