summaryrefslogtreecommitdiff
path: root/chef-server-api/app/controllers/application.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-server-api/app/controllers/application.rb')
-rw-r--r--chef-server-api/app/controllers/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-server-api/app/controllers/application.rb b/chef-server-api/app/controllers/application.rb
index 7b3797730c..c7fdd28ef8 100644
--- a/chef-server-api/app/controllers/application.rb
+++ b/chef-server-api/app/controllers/application.rb
@@ -183,7 +183,7 @@ class ChefServerApi::Application < Merb::Controller
def specific_cookbooks(node_name, cl)
valid_cookbooks = Hash.new
begin
- node = Chef::Node.load(node_name)
+ node = Chef::Node.cdb_load(node_name)
recipes, default_attrs, override_attrs = node.run_list.expand('couchdb')
rescue Net::HTTPServerException
recipes = []