Provide modular metadata in EL8
In EL8 dnf learned the concept of modules. Foreman already relied on them for Ruby 2.7 and PostgreSQL 12 but then built and delivered the RPMs as a regular repository. This meant it needed to provide modular_hotfixes=1, which overrides a lot of modularity.
The goal of this is to provide sufficient modular metadata so users can enable the foreman or katello module. Installation instructions for Foreman become:
dnf module enable foreman:el8 dnf install foreman-installer
And for Katello:
dnf module enable pulpcore:el8 dnf module enable katello:el8 dnf config-manager --set-enabled powertools dnf install foreman-installer-katello
It will still contain modular_hotfixes=1 because of time. The way we currently generate the modular metadata only lists the latest RPM which means dnf downgrade would break. There was also insufficient time to properly test it.