Skip to content

Commit 7f54e44

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.
1 parent 4ea6ee2 commit 7f54e44

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
@@ -20,6 +20,9 @@ def setup(agent)
2020
required_packages = ['createrepo', 'curl', 'rpm-build']
2121
required_packages.each do |pkg|
2222
pkg_installed = (on agent, "#{cmd} list installed #{pkg}", :acceptable_exit_codes => (0..255)).exit_code == 0
23+
# We need a newer OpenSSH for the newer OpenSSL that curl installs
24+
# RE-16677
25+
on(agent, 'dnf upgrade -y openssh') if (agent.platform.start_with?('el-9') && pkg == 'curl')
2326
# package not present, so perform a new install
2427
if !pkg_installed
2528
on agent, "#{cmd} install -y #{pkg}"

0 commit comments

Comments
 (0)