Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes #27540 - handle local pgsql start #379
The upgrade tries to start local pgsql, mongodb services. To handle this one,
ekohl left a comment
What I don't like about this is the reliance on foreman-maintain. I'm aware that we already rely on it in some parts and I'm also unhappy about that.
One reason for this is that in the mongodb migration it should fail if it's unavailable because it can only work on a local machine.
I would much rather see that we look at the actual answers as the installer should. That means the line becomes:
if param_value('foreman', 'db_manage') || param_value('katello', 'candlepin_manage_db') upgrade_step :start_postgresql, :run_always => true end
It might also be good to add