Skip to content

Commit 026028a

Browse files
Odilhaoclaude
authored andcommitted
Pin openssl to 3.5.5-3.el9 on EL9 Jenkins nodes
openssl-3.5.7-1 on EL9 breaks TLS handling (RHEL-192424). Exclude the broken build via dnf.conf and force a downgrade to the last known-good NVR, following the same approach used in forklift (theforeman/forklift#1962) and foremanctl (theforeman/foremanctl#632). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent d1fd840 commit 026028a

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

  • puppet/modules/jenkins_node/manifests

puppet/modules/jenkins_node/manifests/init.pp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,21 @@
2222
) {
2323
include fastly_purge
2424

25+
# Workaround for RHEL-192424: openssl-3.5.7-1 on EL9 broke TLS handling.
26+
# Exclude the broken build and pin back to the last known-good NVR, following
27+
# the same approach used in forklift (theforeman/forklift#1962) and
28+
# foremanctl (theforeman/foremanctl#632).
29+
if $facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '9' {
30+
file_line { 'dnf-exclude-broken-openssl':
31+
path => '/etc/dnf/dnf.conf',
32+
line => 'excludepkgs=openssl-3.5.7-1.*,openssl-libs-3.5.7-1.*,openssl-fips-provider-3.5.7-1.*',
33+
match => '^excludepkgs=',
34+
}
35+
-> package { ['openssl', 'openssl-libs']:
36+
ensure => '3.5.5-3.el9',
37+
}
38+
}
39+
2540
if $facts['os']['family'] == 'RedHat' {
2641
$java_package = 'java-21-openjdk-headless'
2742

0 commit comments

Comments
 (0)