summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/pw.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/group/pw.rb')
-rw-r--r--lib/chef/provider/group/pw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/group/pw.rb b/lib/chef/provider/group/pw.rb
index c018de8d4d..ecad8f44ba 100644
--- a/lib/chef/provider/group/pw.rb
+++ b/lib/chef/provider/group/pw.rb
@@ -30,7 +30,7 @@ class Chef
super
requirements.assert(:all_actions) do |a|
- a.assertion { ::File.exist?("/usr/sbin/pw") }
+ a.assertion do ::File.exist?("/usr/sbin/pw") end
a.failure_message Chef::Exceptions::Group, "Could not find binary /usr/sbin/pw for #{new_resource}"
# No whyrun alternative: this component should be available in the base install of any given system that uses it
end