Issue #7426 has been reported by Philip Gardner.

----------------------------------------
Feature #7426: Inventory Service API should provide a list of all available 
facts and all values for a specific fact
https://projects.puppetlabs.com/issues/7426

Author: Philip Gardner
Status: Unreviewed
Priority: Normal
Assignee: 
Category: API
Target version: 
Affected Puppet version: 2.6.7
Keywords: 
Branch: 


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):
<pre>
GET /{environment}/facts
</pre>

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.
<pre>
GET /{environment}/facts_search/search?facts.{fact}
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to