Skip to content

Commit 4b16390

Browse files
committed
Update OpenSSH on Red Hat 9
We are encountering an issue with the older version of OpenSSH installed on the Red Hat 9 images that we use in CI. This commit adds a temporary step to update OpenSSH on Red Hat Enterprise Linux 9 platforms. (cherry picked from commit 7f54e44)
1 parent 8a7b60a commit 4b16390

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

acceptance/lib/puppet/acceptance/rpm_util.rb

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ def setup(agent)
1616
required_packages = %w[createrepo curl rpm-build]
1717
required_packages.each do |pkg|
1818
pkg_installed = (on agent, "#{cmd} list installed #{pkg}", :acceptable_exit_codes => (0..255)).exit_code == 0
19+
# We need a newer OpenSSH for the newer OpenSSL that curl installs
20+
# RE-16677
21+
on(agent, 'dnf upgrade -y openssh') if (agent.platform.start_with?('el-9') && pkg == 'curl')
1922
# package not present, so perform a new install
2023
if !pkg_installed
2124
on agent, "#{cmd} install -y #{pkg}"

0 commit comments

Comments
 (0)