Skip to content

Commit

Permalink
Updated README.md: queries for chef_environment are supported again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Korn committed Sep 8, 2011
1 parent 0055dcc commit 238ca7c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions README.md
Expand Up @@ -77,15 +77,6 @@ Sample supported queries are:
### More complex queries:

search(:users, "children:tom NOT gender:female AND age:42")

### special case: 'chef_environment' queries:

Searching by values in the "chef_environment" field will raise an RuntimeError
immediately, mostly because right now there is now way for the chef-solo run to
know about the environment it is running in. We strongly suggest using an
"environment" attribute, so queries will endup looking like:

search(:users, "age:42 and environment:testing")

## Running tests

Expand Down

0 comments on commit 238ca7c

Please sign in to comment.