summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/inventory
Commit message (Collapse)AuthorAgeFilesLines
* (#5166) Inventory service is now searchable by timestamp.Paul Berry2010-11-011-0/+22
| | | | | It is now possible to specify queries in the form “meta.timestamp.xx” where xx is eq,ne,gt,lt,ge,le when searching the inventory service.
* Refactor Puppet::Node::Inventory::Yaml in preparation for adding freshnessPaul Berry2010-11-011-17/+29
|
* (#5132) Provide a query REST interface for inventoryMatt Robinson2010-10-281-0/+47
This REST interface returns a list of nodes that match a fact query. Fact queries can use (in)equality testing as a string comparison, and >, <, >=, <= numerical comparisons. Multiple tests can be done as AND comparisons, not OR. The fact queries need to be prefixed by facts, and the comparisons other than equality are specified with a .comparison_type after the fact name. This will be better explained in the REST documentation on the website. Searches that don't match anything now return empty array instead of a 404 error.