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