Feature #14614

Puppet functions for accessing PuppetDB data

Added by Deepak Giridharagopal about 1 year ago. Updated 10 months ago.

Status:ClosedStart date:05/21/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Keywords: Affected PuppetDB version:
Branch:https://github.com/dalen/puppet-puppetdbquery

Description

Got a lot of requests for this at Puppet Camp LA. Perhaps something based on bodepd’s puppetlabs-nodesearch module?

History

#1 Updated by Deepak Giridharagopal about 1 year ago

  • Status changed from Unreviewed to Accepted

#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

#3 Updated by Erik Dalén about 1 year ago

I have written functions that exposes the query API from puppet and should fulfill this entire feature request:

https://github.com/dalen/puppet-puppetdbquery

#4 Updated by James Turnbull about 1 year ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to https://github.com/dalen/puppet-puppetdbquery

#5 Updated by Nick Lewis 10 months ago

  • Status changed from In Topic Branch Pending Review to Closed

There are multiple modules that provide this now, so I’m going to go ahead and close it.

Also available in: Atom PDF