diff options
author | Tim Smith <tsmith@chef.io> | 2019-01-23 12:58:53 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-01-23 12:58:53 -0800 |
commit | 5315f4e966ecd5c5419e40bc2c24b90829c10899 (patch) | |
tree | bd9bb7deb65adb2528804751eba72e534eb5d549 | |
parent | 2d9aaaa000e3973435e715d5ff45309a0674b50d (diff) | |
download | chef-5315f4e966ecd5c5419e40bc2c24b90829c10899.tar.gz |
Remove hpux support from group's usermod provider
We removed hpux support from other parts of ohai / chef. This appears to be the last of it.
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/group/usermod.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider_resolver_spec.rb | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/lib/chef/provider/group/usermod.rb b/lib/chef/provider/group/usermod.rb index 6b040b7190..846c58fbc1 100644 --- a/lib/chef/provider/group/usermod.rb +++ b/lib/chef/provider/group/usermod.rb @@ -23,7 +23,7 @@ class Chef class Group class Usermod < Chef::Provider::Group::Groupadd - provides :group, os: %w{openbsd solaris2 hpux} + provides :group, os: %w{openbsd solaris2} provides :group, platform: "opensuse" def load_current_resource diff --git a/spec/unit/provider_resolver_spec.rb b/spec/unit/provider_resolver_spec.rb index 9b3839163d..af5ca339d7 100644 --- a/spec/unit/provider_resolver_spec.rb +++ b/spec/unit/provider_resolver_spec.rb @@ -790,16 +790,6 @@ describe Chef::ProviderResolver do }, }, - "hpux" => { - "hpux" => { - "hpux" => { - "3.1.4" => { - group: [ Chef::Resource::Group, Chef::Provider::Group::Usermod ], - }, - }, - }, - }, - "netbsd" => { "netbsd" => { "netbsd" => { |