The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
Inventory Service API should provide a list of all available facts and all values for a specific fact
|Assignee:||Nick Lewis||% Done:|
|Affected Puppet version:||2.6.7||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This ticket may be automatically exported to the PUP project on JIRA using the button below:
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):
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.