knife-search
- Find objects on a Chef Server by query
knife search INDEX QUERY (options)
-a
, --attribute ATTR
-i
, --id-only
-R
, --rows INT
-r
, --run-list
-o
, --sort SORT
-b
, --start ROW
-m
, --medium
-l
, --long
Search indexes are a feature of the Chef Server and the search sub-command allows querying any of the available indexes using SOLR query syntax. The following data types are indexed for search: * node * role * environment * data bag
knife-ssh(1) http://wiki.opscode.com/display/chef/Attributes
Chef was written by Adam Jacob adam@opscode.com with many contributions from the community.
This manual page was written by Joshua Timberman joshua@opscode.com. Permission is granted to copy, distribute and / or modify this document under the terms of the Apache 2.0 License.
Knife is distributed with Chef. http://wiki.opscode.com/display/chef/Home