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

Inventory Service API should provide a list of all available facts and all values for a specific fact

Added by Philip Gardner almost 5 years ago. Updated over 4 years ago.

Status:AcceptedStart date:05/06/2011
Priority:NormalDue date:
Assignee:Nick Lewis% Done:


Target version:3.x
Affected Puppet version:2.6.7 Branch:

We've Moved!

Ticket tracking is now hosted in JIRA:


There are times when it would be helpful to know what all facts are available to query in the inventory service. Right now the only way I see doing this is iterating through every node and collecting the unique facts. Maybe something like (no host specified):

GET /{environment}/facts

Another nice feature would be the ability to return all possible hosts and values for a specific fact; a common use case might be gathering up all serial numbers, or chassis types out there.

GET /{environment}/facts_search/search?facts.{fact}


#1 Updated by James Turnbull almost 5 years ago

  • Status changed from Unreviewed to Needs Decision
  • Assignee set to Nigel Kersten

#2 Updated by Nigel Kersten over 4 years ago

  • Status changed from Needs Decision to Accepted
  • Assignee deleted (Nigel Kersten)
  • Target version set to 3.x

This would be great.

I wonder if we should also have “all facts for a specific node” ?

#3 Updated by Nigel Kersten over 4 years ago

  • Assignee set to Deepak Giridharagopal

#4 Updated by Nigel Kersten over 4 years ago

  • Assignee changed from Deepak Giridharagopal to Nick Lewis

Also available in: Atom PDF