-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge group arrays instead of rightmost precedence #65
Conversation
Could you provide an example of what you're trying to achieve here, or ideally a collection of unit tests this PR allows to pass? |
Yes, I can add some unit tests. Basically, I have two yaml files. One managed locally and one acquired via hiera-http backend. Hashes are merged via hiera lookup function. The end result I am looking for is that user1 is created and added to groups group1 and group2. With the existing code, user1 is only added to group2 to due to the merge functions right order precedence hiera1.yaml
hiera2.yaml
|
Unit test added. |
OK I get the idea. Could you separate the |
Thanks. @mcanevet care to give me a second opinion? |
Any word on this? |
* upstream/master: (21 commits) Release 1.11.1 Allow augeasproviders_shellvar 4 Fix tests on Puppet 6 msync Prepare release 1.11.0 Allow stdlib 5 & 6 Correcting issue camptocamp#15 (camptocamp#56) Fix puppet error if the account is not yet created (camptocamp#41) Allow augeasproviders_shellvar 3.x Add additional prerequisite (camptocamp#53) added expiry parameter (camptocamp#55) Merge group arrays instead of rightmost precedence (camptocamp#65) Allow ssh_options for accounts being created through accounts::usergroups as well (camptocamp#66) Use loop instead of recursion Fixes camptocamp#61 - Pass through managehome on absent Do not use legacy puppet-lint-absolute_classname-check plugin Fix beaker version to ~>3.13 Update to add the system option to account.pp Update with modulesync Release 1.10.0 ...
No description provided.