summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/groupadd.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/group/groupadd.rb')
-rw-r--r--lib/chef/provider/group/groupadd.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/provider/group/groupadd.rb b/lib/chef/provider/group/groupadd.rb
index 8f87054262..2be21e1848 100644
--- a/lib/chef/provider/group/groupadd.rb
+++ b/lib/chef/provider/group/groupadd.rb
@@ -20,7 +20,6 @@ class Chef
class Provider
class Group
class Groupadd < Chef::Provider::Group
-
def required_binaries
[ "/usr/sbin/groupadd",
"/usr/sbin/groupmod",
@@ -113,7 +112,7 @@ class Chef
# <string>:: A string containing the option and then the quoted value
def set_options
opts = ""
- { :gid => "-g" }.sort { |a,b| a[0] <=> b[0] }.each do |field, option|
+ { :gid => "-g" }.sort { |a, b| a[0] <=> b[0] }.each do |field, option|
if @current_resource.send(field) != @new_resource.send(field)
if @new_resource.send(field)
opts << " #{option} '#{@new_resource.send(field)}'"
@@ -130,7 +129,6 @@ class Chef
opts << " -o" if @new_resource.non_unique
opts
end
-
end
end
end