-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
hiera 5 compatibility #189
Comments
With hiera 5 and just released PE2017.1 this module has run it's course, IMHO. |
I agree that a lot of people will probably migrate their hiera.yaml into the control repo. But I think that this module can still be useful to manage the packages for different hiera backends and, maybe, manage the global configuration (to somehow have the same settings as production environment hiera.yaml) |
This doesn't appear to be working for Hiera 5 from
The repo seems to have the latest, though. Looks like it just hasn't been updated in the forge. The following may work in the interim:
Install OK in PE 2017.2.1 |
Right, do not use this module. It will write >= v4 syntax to
|
I think I'm in agreement. It was cleaner and faster for me to effectively rewrite ::hiera::install for PE2017.2 and just invoke it from my hiera profile. I'd be cautious about trying to become a hiera backend swiss-army knife. The module dependencies and configuration may start to become rather daunting since there is broader support for different backends now. |
I stand corrected, there is still one important part to the module. Ensuring that the global hiera config isn't colliding with the environment definition and upgrading the current PE default from version 3 to version 5. That said, a simple check to see if the node name matches the puppetmaster name and then to replace the default hiera config isn't too bad. |
AFAICS, this seems to be working since v3.1.0 release, more or less. |
does that mean we can close this issue? |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
puppet is issuing the following error:
What behaviour did you expect instead
as always, i would expect this to just magically work.
Any additional information you'd like to impart
…however, there's currently no documentation on hiera5: https://tickets.puppetlabs.com/browse/HI-555
The text was updated successfully, but these errors were encountered: