I've just created a small web service for doing hiera lookups. It can be 
installed on your puppet master for example and will fetch facts from PuppetDB 
and look up the desired key in hiera.  

That way you don't need to set up hiera and have access to the data anywhere 
else to be able to lookup keys.

It can also do reverse lookups, telling you what hosts has value x for key y. 
That is really slow for lots of hosts though but it does some caching.

Anyway, available at https://github.com/dalen/hieralookup
patches, praise & criticism welcome :)

--  
Erik Dalén


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