diff --git a/lib/beaker/platform.rb b/lib/beaker/platform.rb index 901336b10..84618bbf3 100644 --- a/lib/beaker/platform.rb +++ b/lib/beaker/platform.rb @@ -118,7 +118,7 @@ def uses_chrony? def base_packages case @variant when 'el' - @version.to_i >= 8 ? ['curl-minimal', 'iputils'] : %w[curl] + @version.to_i >= 8 ? ['iputils'] : %w[curl] when 'debian' %w[curl lsb-release] when 'freebsd' @@ -128,7 +128,7 @@ def base_packages when 'archlinux' %w[curl net-tools openssh] when 'amazon', 'fedora' - ['curl-minimal', 'iputils'] + ['iputils'] when 'aix', 'osx', 'windows' [] else diff --git a/spec/beaker/host_prebuilt_steps_spec.rb b/spec/beaker/host_prebuilt_steps_spec.rb index 82144c1d6..e5d17d054 100644 --- a/spec/beaker/host_prebuilt_steps_spec.rb +++ b/spec/beaker/host_prebuilt_steps_spec.rb @@ -276,7 +276,7 @@ it "can validate el-9 hosts" do host = make_host('host', { :platform => 'el-9-64' }) - ['curl-minimal', 'iputils'].each do |pkg| + ['iputils'].each do |pkg| expect(host).to receive(:check_for_package).with(pkg).once.and_return(false) expect(host).to receive(:install_package).with(pkg).once end @@ -321,7 +321,7 @@ it "can validate RHEL8 hosts" do host = make_host('host', { :platform => 'el-8-64' }) - ['curl-minimal', 'iputils'].each do |pkg| + ['iputils'].each do |pkg| expect(host).to receive(:check_for_package).with(pkg).once.and_return(false) expect(host).to receive(:install_package).with(pkg).once end @@ -332,7 +332,7 @@ it "can validate Fedora hosts" do host = make_host('host', { :platform => 'fedora-32-x86_64' }) - ['curl-minimal', 'iputils'].each do |pkg| + ['iputils'].each do |pkg| expect(host).to receive(:check_for_package).with(pkg).once.and_return(false) expect(host).to receive(:install_package).with(pkg).once end @@ -343,7 +343,7 @@ it "can validate Amazon hosts" do host = make_host('host', { :platform => 'amazon-2023-x86_64' }) - ['curl-minimal', 'iputils'].each do |pkg| + ['iputils'].each do |pkg| expect(host).to receive(:check_for_package).with(pkg).once.and_return(false) expect(host).to receive(:install_package).with(pkg).once end