summaryrefslogtreecommitdiff
path: root/lib/chef/knife
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-01-13 10:25:00 -0800
committerJay Mundrawala <jdmundrawala@gmail.com>2015-01-13 10:25:00 -0800
commit8b2b41fb537317bcfb1e0e439f66ad466084f8f5 (patch)
tree4b0b0601d7a7979b9bf0ec771c8ea5bd7b330df1 /lib/chef/knife
parent15f36de72cc63e8ee986d15fc0db4f0736e3cb1b (diff)
downloadchef-8b2b41fb537317bcfb1e0e439f66ad466084f8f5.tar.gz
Provide more info when cookbook metadata is not found
Diffstat (limited to 'lib/chef/knife')
-rw-r--r--lib/chef/knife/cookbook_site_install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/cookbook_site_install.rb b/lib/chef/knife/cookbook_site_install.rb
index edf8dd14f0..d0ab6da3ef 100644
--- a/lib/chef/knife/cookbook_site_install.rb
+++ b/lib/chef/knife/cookbook_site_install.rb
@@ -181,7 +181,7 @@ class Chef
return md
end
- raise Chef::Exceptions::MetadataNotFound
+ raise Chef::Exceptions::MetadataNotFound.new(@install_path, @cookbook_name)
end
end
end