I am not sure if Support is the right category for this post, but here goes…
During a recent upgrade from Foreman 2.0 to 2.1, I had some uncertainty about which files to update from package default, and which to preserve the installed version. I followed the upgrade guide and ran “rpmconf -a --frontend=vimdiff” after the package updates. These files were flagged as diffs:
- /etc/foreman/database.yml
- /etc/foreman/settings.yaml
- /etc/foreman-installer/scenarios.d/foreman-answers.yaml
At the time, I told rpmconf to replace all three files with the package default versions. This was NOT the right choice for the database and settings files. However, with the foreman-answers file, replacing from package default may have been optimal.
I propose adding a sentence or two two the documentation, with some guidance on which files to keep and which to replace, when running rpmconf during an upgrade.
Thanks,
-jm