summaryrefslogtreecommitdiff
path: root/chef/lib
diff options
context:
space:
mode:
authorBryan McLellan <btm@opscode.com>2012-04-23 14:06:51 -0700
committerBryan McLellan <btm@opscode.com>2012-04-23 14:06:51 -0700
commit39df89c742ccadd2eb9b0550511ad00a4a859050 (patch)
tree3a859979f0954b85f412560ed0a33213c40b47af /chef/lib
parentef8edb0bdc62eaeac1c8609798b2c543449bff9c (diff)
downloadchef-39df89c742ccadd2eb9b0550511ad00a4a859050.tar.gz
CHEF-3036: set groupadd -r when system is set for all platforms
Diffstat (limited to 'chef/lib')
-rw-r--r--chef/lib/chef/provider/group/groupadd.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/chef/lib/chef/provider/group/groupadd.rb b/chef/lib/chef/provider/group/groupadd.rb
index 9eeba6dffe..720d857b03 100644
--- a/chef/lib/chef/provider/group/groupadd.rb
+++ b/chef/lib/chef/provider/group/groupadd.rb
@@ -78,10 +78,7 @@ class Chef
def groupadd_options
opts = ''
- case node[:platform]
- when "centos", "redhat", "scientific", "fedora", "debian", "ubuntu", "mint"
- opts << " -r" if @new_resource.system
- end
+ opts << " -r" if @new_resource.system
opts
end