Manually performing katello upgrades

Problem: Our katello installation is a bit different than using foreman-installer --scenario=katello, we are using the puppet modules to manage it through puppet classes (Its a bit hard since there is no documentation on how to use such modules), since it is not the conventional way, we have faced a situation where foreman-installer doesn’t actually upgrade our installation, Psql is the only DB that is in a different cluster not managed by katello, I would like to know what are the rake steps that foreman-installer runs in order to upgrade and reflect the new config files

Expected outcome: Be able to upgrade our katello from 3.14 to 3.16

Foreman and Proxy versions: 1.24

Foreman and Proxy plugin versions: Katello 3.14

Distribution and version: CentOS 7

Other relevant data: