diff options
author | Matt Robinson <matt@puppetlabs.com> | 2010-10-28 14:49:37 -0700 |
---|---|---|
committer | Matt Robinson <matt@puppetlabs.com> | 2010-10-28 15:09:15 -0700 |
commit | 45a9a97285d99db524d5330c236352b29e5884ed (patch) | |
tree | 65d227ec46a7259a2a06221889cb48d1698dff3a /lib/puppet/util/rdoc/code_objects.rb | |
parent | e559b48d51c53c4a345353de1e196634c7430195 (diff) | |
download | puppet-45a9a97285d99db524d5330c236352b29e5884ed.tar.gz puppet-45a9a97285d99db524d5330c236352b29e5884ed.tar.xz puppet-45a9a97285d99db524d5330c236352b29e5884ed.zip |
(#5132) Provide a query REST interface for inventory
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.
Diffstat (limited to 'lib/puppet/util/rdoc/code_objects.rb')
0 files changed, 0 insertions, 0 deletions