Merge pull request #43789 from 3add3287/pillar_file_tree_nodegroup_merging_fixed

Properly merge pillar data when using multiple nodegroups
This commit is contained in:
Mike Place 2017-09-28 16:21:32 +02:00 committed by GitHub
commit 5bbbd10657

View File

@ -343,14 +343,15 @@ def ext_pillar(minion_id,
if minion_id in match:
ngroup_dir = os.path.join(
nodegroups_dir, str(nodegroup))
ngroup_pillar.update(
ngroup_pillar = salt.utils.dictupdate.merge(ngroup_pillar,
_construct_pillar(ngroup_dir,
follow_dir_links,
keep_newline,
render_default,
renderer_blacklist,
renderer_whitelist,
template)
template),
strategy='recurse'
)
else:
if debug is True: