----- 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 > All this is based on a simple test with a module with one class and > one define so it is not very in-depth > but the results are clear and as expected.... > > Thank you Volcane ! We're getting there. :-) no thank you, community members testing this stuff is super awesome and help us a lot. -- 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.