diff options
author | Naomi Reeves <naomi.c.reeves@gmail.com> | 2017-09-25 13:57:03 -0700 |
---|---|---|
committer | Naomi Reeves <naomi.c.reeves@gmail.com> | 2017-09-29 01:01:35 -0700 |
commit | 78632194bc100cf1aeda04ac09168609c0270ba8 (patch) | |
tree | ab12803b08c9a4e280829c5542fbc134469d4bd9 /spec/unit/provider_resolver_spec.rb | |
parent | 414858767b52d47065312c68adcc2a60fa517fa4 (diff) | |
download | chef-78632194bc100cf1aeda04ac09168609c0270ba8.tar.gz |
fix tests
Signed-off-by: Naomi Reeves <naomi.c.reeves@gmail.com>
Diffstat (limited to 'spec/unit/provider_resolver_spec.rb')
-rw-r--r-- | spec/unit/provider_resolver_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/unit/provider_resolver_spec.rb b/spec/unit/provider_resolver_spec.rb index 1902fb5375..d1aaa6a8ea 100644 --- a/spec/unit/provider_resolver_spec.rb +++ b/spec/unit/provider_resolver_spec.rb @@ -708,18 +708,21 @@ describe Chef::ProviderResolver do "rhel" => { # service: [ Chef::Resource::SystemdService, Chef::Provider::Service::Systemd ], - package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ], + package: [ Chef::Resource::DnfPackage, Chef::Provider::Package::Dnf ], ifconfig: [ Chef::Resource::Ifconfig, Chef::Provider::Ifconfig::Redhat ], %w{amazon xcp xenserver ibm_powerkvm cloudlinux parallels} => { "3.1.4" => { + package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ], # service: [ Chef::Resource::RedhatService, Chef::Provider::Service::Redhat ], }, }, %w{redhat centos scientific oracle} => { "7.0" => { + package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ], }, "6.0" => { + package: [ Chef::Resource::YumPackage, Chef::Provider::Package::Yum ], # service: [ Chef::Resource::RedhatService, Chef::Provider::Service::Redhat ], }, }, |