----- Original Message -----
> From: "R.I.Pienaar" <r...@devco.net>
> To: puppet-users@googlegroups.com
> Sent: Thursday, December 13, 2012 5:58:42 PM
> Subject: Re: [Puppet Users] in-module data with hiera
> 
> 
> 
> ----- Original Message -----
> > From: "Stefan Goethals" <zipkid....@gmail.com>
> > To: puppet-users@googlegroups.com
> > Sent: Thursday, December 13, 2012 5:37:30 PM
> > Subject: Re: [Puppet Users] in-module data with hiera
> > 
> > 
> > The good news:
> > 
> > Without /etc/puppet/hiera.yaml & Without <module>/data/hiera.yaml =
> > OK!
> > Without /etc/puppet/hiera.yaml but with empty
> > <module>/data/hiera.yaml = OK!
> > Without /etc/puppet/hiera.yaml but with <module>/data/hiera.yaml
> > with
> > a hierarchy = OK!
> > 
> > With empty /etc/puppet/hiera.yaml & Without
> > <module>/data/hiera.yaml
> > = OK!
> > With /etc/puppet/hiera.yaml with a hierarch & Without
> > <module>/data/hiera.yaml = OK!
> > With /etc/puppet/hiera.yaml with a hierarch & with empty
> > <module>/data/hiera.yaml = OK!
> > With /etc/puppet/hiera.yaml with a hierarch & with
> > <module>/data/hiera.yaml with a hierarchy = OK!
> > 
> > Lookups via hiera() in a define also seem to work well!
> > 
> > 
> > Comment:
> > 
> > The default file looked up in the in-module data backend is
> > 'default.yaml', not 'common.yaml' and
> > that is different from the yaml backend so it is somewhat
> > confusing.
> > It is also not what was 'agreed'  in this thread.
> 
> yes good, actually common is a default set by hiera, this should be
> consistant
> here too, I agree will fix.
> 
> https://github.com/puppetlabs/hiera/blob/master/lib/hiera/config.rb#L13-14

yay, confused myself - this is of course in the backend too, doh.

I updated the pull with this fix, thanks again.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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