Somehow the subscription-manager.conf appeared in my system as I was setting up docker and docker-compose. It was not until later that I realized it broke puppet's package provider.
Kevin Reeuwijk I think this is a dup of PUP-10432. Could you try the just released 6.15.0 puppet-agent and see if that resolves the issue? If so, please close this as a dup.