I've been using hiera_include for a while for classes, but it appears functionality is something that may go away based on this feature [2] and the fact that it is still undocumented [3]. The bug report points out include now takes an array [4] (yeah!), but to get the correct array built from hiera (multiple levels) I have to use hiera_array which is also still undocumented [5].
What is the current recommended way of including classes to be included in your hiera data and is there a recommended method for including resources? Obviously I can implement the stuff Robin and Hunter did if I'm not implementing something that's going to go away shortly because it is a terrible idea.
Thanks,
jl
[1] http://yo61.com/assigning-resources-to-nodes-with-hiera-in-puppet.html
[2] http://projects.puppetlabs.com/issues/11608
[3] http://docs.puppetlabs.com/references/3.1.latest/function.html#hierainclude
[4] http://projects.puppetlabs.com/issues/7801
[5] http://docs.puppetlabs.com/references/3.1.latest/function.html#hieraarray
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.