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 38ff84f105..62b4ea6d4a 100644
--- a/lib/chef/provider/package/openbsd.rb
+++ b/lib/chef/provider/package/openbsd.rb
@@ -52,7 +52,7 @@ class Chef
# Below are incomplete/missing features for this package provider
requirements.assert(:all_actions) do |a|
- a.assertion { !new_resource.source }
+ a.assertion do !new_resource.source end
a.failure_message(Chef::Exceptions::Package, "The openbsd package provider does not support the source property")
end
requirements.assert(:all_actions) do |a|