merge 2 or more files
In /etc/puppet/hieradata/users/ I have 2 yaml files. For a node I want to merge these files and on the other node only one file.
In the /etc/puppet/enc/nodes/server1.yaml I have:
--- classes: - ssh parameters: usergroups: - group1 - group2
And on the other node only -group2.
The problem is that the first node is not merging the 2 files.
What am I doing wrong here?