summaryrefslogtreecommitdiff
path: root/lib/chef/provider/group/usermod.rb
diff options
context:
space:
mode:
authorEric Saxby <sax@livinginthepast.org>2013-05-19 13:32:58 -0700
committerBryan McLellan <btm@opscode.com>2013-06-18 08:51:25 -0700
commit9147742be523a117691218fda87bb2976b9f06cd (patch)
tree578e18d671d6a9e1c5bfeeb26ec508846b7ff3bd /lib/chef/provider/group/usermod.rb
parent66e2b95126d677e140742cc60118d196196715f9 (diff)
downloadchef-9147742be523a117691218fda87bb2976b9f06cd.tar.gz
Fix user group modification for smartos
Diffstat (limited to 'lib/chef/provider/group/usermod.rb')
-rw-r--r--lib/chef/provider/group/usermod.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/group/usermod.rb b/lib/chef/provider/group/usermod.rb
index 81cfbd8d91..0d44d3940f 100644
--- a/lib/chef/provider/group/usermod.rb
+++ b/lib/chef/provider/group/usermod.rb
@@ -45,7 +45,7 @@ class Chef
def modify_group_members
case node[:platform]
- when "openbsd", "netbsd", "aix", "solaris2"
+ when "openbsd", "netbsd", "aix", "solaris2", "smartos"
append_flags = "-G"
when "solaris", "suse"
append_flags = "-a -G"