mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
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:
commit
5bbbd10657
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user