summaryrefslogtreecommitdiff
path: root/chef-solr
diff options
context:
space:
mode:
authorNuo Yan <nuo@opscode.com>2010-09-23 11:37:30 -0700
committerSeth Falcon <seth@opscode.com>2010-11-01 10:47:00 -0700
commit56ff759e842948ec01b7d69d33fc08accfda80c6 (patch)
tree201d70cace6dd71eedeaede65687424c3712c1bf /chef-solr
parent28e7431b212abc740445206472818f5919a5f3f3 (diff)
downloadchef-56ff759e842948ec01b7d69d33fc08accfda80c6.tar.gz
enable search for environment objects and complete the knife environment from file feature
Diffstat (limited to 'chef-solr')
-rw-r--r--chef-solr/lib/chef/solr/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-solr/lib/chef/solr/query.rb b/chef-solr/lib/chef/solr/query.rb
index 29c44a17f0..a432997957 100644
--- a/chef-solr/lib/chef/solr/query.rb
+++ b/chef-solr/lib/chef/solr/query.rb
@@ -55,7 +55,7 @@ class Chef
# You'll wind up having to page things yourself.
def raw(type, options={})
qtype = case type
- when "role",:role,"node",:node,"client",:client
+ when "role",:role,"node",:node,"client",:client, "environment", :environment
type
else
[ "data_bag_item", type ]