Hello, 

Maybe i should be clearer and specify that the hiera.yaml i mention in my 
comment is  /etc/puppet/hiera.yaml and not the <module>/data/hiera.yaml 
version.
That last one indeed only requires a hierarchy setting for things to work.

Stefan.


On Tuesday, December 4, 2012 10:38:46 PM UTC+1, R.I. Pienaar wrote:
>
>
>
> ----- Original Message ----- 
> > From: "ZipKid" <zipki...@gmail.com <javascript:>> 
> > To: puppet...@googlegroups.com <javascript:> 
> > Sent: Tuesday, December 4, 2012 11:10:13 PM 
> > Subject: Re: [Puppet Users] in-module data with hiera 
> > 
> > Hello, 
> > 
> > I have tested the branch 
> > https://github.com/ripienaar/puppet/tree/feature/master/16856. 
> > The basic functionality of the data in the module seems to work as 
> > desired. 
> > Just a few things 
> > - If only using the param auto-lookup not having a hiera.yaml file is 
> > ok 
> > - if there is NO hiera.yaml config file, calling hiera() causes an 
> > error "Error 400 on SERVER: undefined method `include?' for 
> > nil:NilClass" 
> > - Having an empty hiera.yaml is ok when using a hiera(call) 
> > - The lookup in the moduledata does not happen if only using the 
> > auto-lookup of the class params, unless you manually specify 
> > "module_data" as hiera backend. 
> > - When using the hiera() call, specifying "module_data" as hiera 
> > backend is not needed. 
> > 
> > I hope this helps. 
>
> awesome, thanks a lot for taking the time to test it, I'll incorporate 
> this feedback in a few weeks. 
>
> do you think the basic approach will improve your workflow and lead 
> to easier to share modules? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/lyTpSrtwgRsJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to