Hi!

I'm testing Hiera for the first time and so far it is very pleasant.
I'm looking very much forward to it being integrated into Puppet.

So far I've got one question: I have a class ssh::server::install
which is getting a parameter from Hiera. I'm using the yaml and puppet
backends. I also have a class ssh::server::data.

The puppet backend doesn't look in this class though:
debug: importing
'/home/lfrancke/puppet/modules/ssh/manifests/server/data.pp' in
environment production
debug: importing '/home/lfrancke/puppet/modules/ssh/manifests/data.pp'
in environment production
debug: hiera(): Looking for data in ssh::server::install::data
debug: hiera(): Looking for data in ssh::data

I had hoped it would look through all parent namespaces:

1) ssh::server::install::data
2) ssh::server::data
3) ssh::data

Is this intended behavior or worth a feature request?

I've moved my configuration from ssh::data to ssh::server::data to
separate it from the client configuration.

It's not a big deal but it seems like a minor inconsistency to me. Or
even a bug because it seems to import the correct file
(/server/data.pp)?

Thanks,
Lars

-- 
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