Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Copy edits to PuppetDB spec_q_nodes.

  • Loading branch information...
commit f8e344c9f89c925f94bd619cd08a4c4564ccfe04 1 parent 450c382
Fred Lifton authored October 12, 2012

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 8  source/puppetdb/1/spec_q_nodes.markdown
8  source/puppetdb/1/spec_q_nodes.markdown
Source Rendered
@@ -5,7 +5,7 @@ layout: default
5 5
 
6 6
 [resource]: ./spec_q_resources.html
7 7
 
8  
-Querying nodes is accomplished by making an HTTP request to the `/nodes` REST
  8
+Nodes can be queried by making an HTTP request to the `/nodes` REST
9 9
 endpoint with a JSON-formatted parameter called `query`.
10 10
 
11 11
 ## Query format
@@ -13,12 +13,12 @@ endpoint with a JSON-formatted parameter called `query`.
13 13
 * The HTTP method must be `GET`.
14 14
 * There must be an `Accept` header specifying `application/json`.
15 15
 
16  
-The `query` parameter is a similar format to [resource queries][resource].
  16
+The `query` parameter uses a format similar to [resource queries][resource].
17 17
 
18 18
 Only queries against facts and filters based on node activeness are currently
19 19
 supported.
20 20
 
21  
-These terms must be of the form `["fact", "<fact name>"]` or `["node", "active"]`,
  21
+These query terms must be of the form `["fact", "<fact name>"]` or `["node", "active"]`,
22 22
 respectively.
23 23
 
24 24
 Accepted operators are: `[= > < >= <= and or not]`
@@ -29,7 +29,7 @@ which are not numeric.
29 29
 Note that nodes which are missing a fact referenced by a `not` query will match
30 30
 the query.
31 31
 
32  
-This query will return active nodes whose kernel is Linux and whose uptime is less
  32
+In this example, the query will return active nodes whose kernel is Linux and whose uptime is less
33 33
 than 30 days:
34 34
 
35 35
     ["and",

0 notes on commit f8e344c

Please sign in to comment.
Something went wrong with that request. Please try again.