summaryrefslogtreecommitdiff
path: root/chef-server-api
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-server-api
parent28e7431b212abc740445206472818f5919a5f3f3 (diff)
downloadchef-56ff759e842948ec01b7d69d33fc08accfda80c6.tar.gz
enable search for environment objects and complete the knife environment from file feature
Diffstat (limited to 'chef-server-api')
-rw-r--r--chef-server-api/app/controllers/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-server-api/app/controllers/search.rb b/chef-server-api/app/controllers/search.rb
index d29ab67a1e..cf0a3aecc8 100644
--- a/chef-server-api/app/controllers/search.rb
+++ b/chef-server-api/app/controllers/search.rb
@@ -32,7 +32,7 @@ class Search < Application
def valid_indexes
indexes = Chef::DataBag.cdb_list(false)
- indexes += %w{ role node client }
+ indexes += %w{ role node client environment}
end
def show