Problem:
We want to change the default stream for certain modules in the RHEL8 AppStream repo. The reason for this is that Red Hat in several cases sets an unsupported (EOL) stream as the default, which may also contain known security vulnerabilities (for example the nginx module where 1.14 is the default stream which is no longer supported or patched).
Can we do this with Pulp and if so - how?
I’ve looked at the ‘modulemd_defaults’ endpoint in pulp rpm plugin but can’t find any way of modifying existing modulemd_defaults files.
I also know we can do this on each dnf client in /etc/dnf/modules.defaults.d/
but I was hoping we could do this at the source instead.
Pulpcore version:
python3-pulpcore-3.14.3-1.el8.noarch
Pulp plugins installed and their versions:
python3-pulp-rpm-3.14.0-1.el8.noarch
Operating system - distribution and version:
RHEL 8.5