Proxy plugins disabled after rerunning foreman-install

Problem:
When I rerun foreman-install I find that the proxy on the foreman server has lost some previously active plugins. For example, the realm plugin which I use for FreeIPA. I have to go in and re-edit the config files as they get reset to default and restart the smart proxy.

Other plugin(s) which also get disabled, there might be more, but can’t fully remember:

  • DNS

Expected outcome:
The modified smart-proxy config remains untouched and no proxy plugins are deactivated after running foreman-install.

Foreman and Proxy versions:
Foreman 3.7, Katello 4.9
Proxy 3.7.0

Foreman and Proxy plugin versions:
Proxy plugin version:

  • DNS: 3.7.0
  • Dynflow: 0.9.0
  • External IPAM: Not reported in GUI
  • Content: 3.2.0
  • Realm: 3.7.0
  • Script: 0.10.1
  • TFTP: 3.7.0
  • Templates: 3.7.0

Distribution and version:
CentOS stream 8

Other relevant data:
Should I have used --foreman-proxy-realm to add the realm configuration?

Yeah, if you don’t tell the installer which plugins to enable, it will disable them.

Thank you, that worked for both Realm and DNS.