Project

General

Profile

« Previous | Next » 

Revision ff9143a4

Added by Ewoud Kohl van Wijngaarden about 5 years ago

Fixes #25059 - Remove local module_enabled? method

Until Kafo 3.0 its hook method didn't handle non-existing modules. Now
there's no more need for this additional check.

View differences:

katello/hooks/pre/31-mongo_storage_engine.rb
end
def migration
katello = Kafo::Helpers.module_enabled?(@kafo, 'katello')
katello = module_enabled?('katello')
export_dir = '/var/tmp/mongodb_engine_upgrade'
mongo_dir = '/var/lib/mongodb'
hiera_file = '/etc/foreman-installer/custom-hiera.yaml'

Also available in: Unified diff