summaryrefslogtreecommitdiff
path: root/lib/chef/knife/cookbook_site_install.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/cookbook_site_install.rb')
-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