Garrett McGrath
2014-May-06 23:58 UTC
[Puppet Users] Hiera support for Aggregate Fact Resolution?
Is there a known way to do this or anything on the horizon that would make
this functionality easier?
I am attempting to use facts.d to establish a list of 'roles' that
resolve
to locations in my hiera hierarchy (- roles/%{::roles}). Unfortunately it
doesn't actually work as expected right now because hiera is restricted to
interpolating values as strings instead of arrays or hashes, features added
to facter in 2.0. It will work one time but then puts the puppetmaster /
passenger server in a weird state that requires touching a file in the
manifest structure or restarting the server in order to continue working.
Further it only appears to access the first role when doing this which is
an additional problem.
Having fully formed and functional support for this would allow me to
eliminate huge amounts of repeated data in my current hiera structure so
hopefully there is a way to get this doing what I want.
-Garrett
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/95e1a51c-f639-4b11-b2cc-9f6cd0eb4b9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.