diff options
author | Joshua Justice <jjustice6@bloomberg.net> | 2019-01-24 16:26:53 -0500 |
---|---|---|
committer | Joshua Justice <jjustice6@bloomberg.net> | 2019-01-25 13:02:24 -0500 |
commit | bf03ed1fb1aa70573676872d9088e2c6b7d7f229 (patch) | |
tree | 2dcf25c82aa777fc21e9b77f4a9e6b001c55eab8 | |
parent | 43a6c537e717b14b39ef21aec4f8aa642c11ee00 (diff) | |
download | chef-bf03ed1fb1aa70573676872d9088e2c6b7d7f229.tar.gz |
Change the provides lines to reflect the new setup.
Signed-off-by: Joshua Justice <jjustice6@bloomberg.net>
-rw-r--r-- | lib/chef/provider/group/solaris.rb | 2 | ||||
-rw-r--r-- | lib/chef/provider/group/usermod.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/group/solaris.rb b/lib/chef/provider/group/solaris.rb index ab0915f221..025ae63160 100644 --- a/lib/chef/provider/group/solaris.rb +++ b/lib/chef/provider/group/solaris.rb @@ -23,7 +23,7 @@ class Chef class Group class Solaris < Chef::Provider::Group::Groupadd - provides :group, os: "solaris2" + provides :group, platform: "solaris2" def load_current_resource super diff --git a/lib/chef/provider/group/usermod.rb b/lib/chef/provider/group/usermod.rb index 34a563787f..26f1a3b96f 100644 --- a/lib/chef/provider/group/usermod.rb +++ b/lib/chef/provider/group/usermod.rb @@ -76,7 +76,7 @@ class Chef def append_flags case node[:platform] - when "openbsd", "netbsd", "aix", "solaris2", "smartos", "omnios" + when "openbsd", "netbsd", "aix", "smartos", "omnios" "-G" when "solaris" [ "-a", "-G" ] |