The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Feature #14614

Puppet functions for accessing PuppetDB data

Added by Deepak Giridharagopal over 3 years ago. Updated over 3 years ago.

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


Target version:-
Keywords: Affected PuppetDB version:

We've Moved!

Ticket tracking is now hosted in JIRA:


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


#1 Updated by Deepak Giridharagopal over 3 years ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Oded Ben Ozer over 3 years 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 :

#3 Updated by Erik Dalén over 3 years ago

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

#4 Updated by James Turnbull over 3 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Branch set to

#5 Updated by Nick Lewis over 3 years 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