Puppet functions for accessing PuppetDB data
|Keywords:||Affected PuppetDB version:|
Got a lot of requests for this at Puppet Camp LA. Perhaps something based on bodepd’s puppetlabs-nodesearch module?
#2 Updated by Oded Ben Ozer about 1 year ago
Preferably this will allow users to run complex queries and get reach data like “get me a hash of hostnames and IPs of all servers with FOO class and BAR fact value higher then 8”.
A very similar implementation was done in The Foreman : http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html