-
Notifications
You must be signed in to change notification settings - Fork 74
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
No way to define different keys for "auto" in different hiera sources #35
Comments
since this is a puppet """""""feature"""""", the only way to fix that is either repeat yourself, or wrap this class into a profile. :( closing this, as "can't fix" ): |
It believe it can be fixed: this behavior is just the default for automatic parameter lookup. How about something along those lines ? https://www.sidorenko.io/blog/2014/07/05/puppet-hiera-hash-merge-and-automatic-parameter-lookup/ |
Does this not sound like an acceptable solution ? |
That would explicitly require us to add all the What you want can be achieved by changing Hiera's Hash merge behaviour: http://docs.puppetlabs.com/hiera/3.0/configuring.html#mergebehavior. You'll want to set |
I'd like to have a merge behavior by default, using the following hierarchy:
common.yaml
nodes/foo.yaml
Unfortunately, hiera_hash() isn't used for the auto parameter, so we end with the default priority lookup instead, and "remove:false" isn't used on node foo.
The text was updated successfully, but these errors were encountered: