The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Feature #14614

Puppet functions for accessing PuppetDB data

Added by Deepak Giridharagopal over 2 years ago. Updated about 2 years 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

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.


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 over 2 years ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Oded Ben Ozer about 2 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 : http://blog.theforeman.org/2012/01/getting-foreman-search-results-into.html

#3 Updated by Erik Dalén about 2 years 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 2 years 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 about 2 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