diff options
author | danielsdeleo <dan@opscode.com> | 2013-07-05 11:23:27 -0700 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-09-17 11:44:04 -0700 |
commit | cf23ffbdbf69bac796f8a3894826f2d43fddc877 (patch) | |
tree | 664ce8bb14a51250f0b53262262ee78a17a478e7 /lib/chef/provider | |
parent | 99899ada1da8cfa635f14f21e876191d015708aa (diff) | |
download | chef-cf23ffbdbf69bac796f8a3894826f2d43fddc877.tar.gz |
Support platform "suse" and "opensuse" on OpenSuSE
Fixes CHEF-4356: http://tickets.opscode.com/browse/CHEF-4356
A future update to Ohai (OHAI-339) will change the detected platform on
OpenSuSE from "suse" to "opensuse" to allow users to distinguish between
open and enterprise versions. Add provider mapping for "opensuse" such
that Chef will work correctly for both cases.
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/group/usermod.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/group/usermod.rb b/lib/chef/provider/group/usermod.rb index 0d44d3940f..8daf9c7fff 100644 --- a/lib/chef/provider/group/usermod.rb +++ b/lib/chef/provider/group/usermod.rb @@ -47,7 +47,7 @@ class Chef case node[:platform] when "openbsd", "netbsd", "aix", "solaris2", "smartos" append_flags = "-G" - when "solaris", "suse" + when "solaris", "suse", "opensuse" append_flags = "-a -G" end |