Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated queries for chef_environment are supported again.

  • Loading branch information...
commit 238ca7c27288b734dc727ced13b85917909e7ede 1 parent 0055dcc
Markus Korn thekorn authored
Showing with 0 additions and 9 deletions.
  1. +0 −9
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.