Skip to content

Commit

Permalink
(maint) acceptance: install tzdata-java on el8
Browse files Browse the repository at this point in the history
With the release of openjdk-headless 11.0.20.0.8-2.el8 tzdata-java
is no longer included as a dependency of openjdk. This is a bug in
RedHat's packages
https://bugzilla.redhat.com/show_bug.cgi?id=2224427

PuppetServer fails to start when the package is missing. EZBake has been
adjusted to depend on the package in future releases, but there's
nothing we can do for older releases, so to test upgrade_latest we must
install the package ourselves.
  • Loading branch information
austb committed Aug 8, 2023
1 parent b018bff commit b5f1a3e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acceptance/setup/pre_suite/20_install_puppet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
unless (test_config[:skip_presuite_provisioning])
if is_el8 && ([:upgrade_latest].include? test_config[:install_mode])
on(hosts, 'update-crypto-policies --set LEGACY')

# Work around RedHat Bug 2224427
on(hosts, 'yum install -y tzdata-java')
end

step "Install Puppet" do
Expand Down

0 comments on commit b5f1a3e

Please sign in to comment.