Project

General

Profile

« Previous | Next » 

Revision e6974d90

Added by Amit Upadhye almost 5 years ago

Fixes #27540 - handle remote postgresql in upgrades

When the postgresql is remote, it shouldn't be started.

View differences:

katello/hooks/pre/30-upgrade.rb
upgrade_step :stop_services, :run_always => true
if katello
if param_value('foreman', 'db_manage') || param_value('katello', 'candlepin_manage_db')
upgrade_step :start_postgresql, :run_always => true
end

Also available in: Unified diff