summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/openbsd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/package/openbsd.rb')
-rw-r--r--lib/chef/provider/package/openbsd.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/openbsd.rb b/lib/chef/provider/package/openbsd.rb
index 0bbe7abb60..d8c12c6f6c 100644
--- a/lib/chef/provider/package/openbsd.rb
+++ b/lib/chef/provider/package/openbsd.rb
@@ -116,7 +116,7 @@ class Chef
when 1
results[0]
else
- raise Chef::Exceptions::Package, "#{new_resource.name} has multiple matching candidates. Please use a more specific name" if results.length > 1
+ raise Chef::Exceptions::Package, "#{new_resource.package_name} has multiple matching candidates. Please use a more specific name" if results.length > 1
end
end
end