Skip to content

Commit

Permalink
BZ#2250254 - force removal of tomcat during the upgrade
Browse files Browse the repository at this point in the history
We need pki-servlet-engine, which we depend on, but tomcat conflicts
with.
  • Loading branch information
evgeni authored and pirat89 committed Nov 21, 2023
1 parent f5d50f7 commit 28a5cc0
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def process(self):
postgresql_contrib = has_package(InstalledRPM, 'rh-postgresql12-postgresql-contrib')
postgresql_evr = has_package(InstalledRPM, 'rh-postgresql12-postgresql-evr')

# SCL-related packages
to_remove = ['tfm-runtime', 'tfm-pulpcore-runtime', 'rh-redis5-runtime', 'rh-ruby27-runtime',
'rh-python38-runtime']
to_install = ['rubygem-foreman_maintain']
Expand All @@ -54,6 +55,11 @@ def process(self):
# enable modules that are needed for Pulpcore
modules_to_enable.append(Module(name='python38', stream='3.8'))
to_install.append('katello')
# Force removal of tomcat
# PES data indicates tomcat.el7 can be upgraded to tomcat.el8 since EL 8.8,
# but we need pki-servlet-engine from the module instead which will be pulled in via normal
# package dependencies
to_remove.extend(['tomcat', 'tomcat-lib'])

if has_package(InstalledRPM, 'rh-redis5-redis'):
modules_to_enable.append(Module(name='redis', stream='5'))
Expand Down

0 comments on commit 28a5cc0

Please sign in to comment.