When installing PuppetDB with the puppetdb module on Redhat 7 in FIPS mode, the following error reliably occurs:
Info: Applying configuration version '1564068144'
Notice: /Stage[main]/Postgresql::Repo::Yum_postgresql_org/File[/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-96]/ensure: defined content as '{sha256}5c7bdbdfa666de461e14007f7207d4d4f8c0565c56a88bb24c77f25b856203d4'
Error: Could not prefetch yumrepo provider 'inifile': Section "pl-puppet-agent-641a430f5eff10b87df36d3bbbf3d17db4f206be" is already defined, cannot redefine (file: /etc/yum.repos.d/pl-puppet-agent-641a430f5eff10b87df36d3bbbf3d17db4f206be-redhatfips-7-x86_64.repo)
Error: Failed to apply catalog: Section "pl-puppet-agent-641a430f5eff10b87df36d3bbbf3d17db4f206be" is already defined, cannot redefine (file: /etc/yum.repos.d/pl-puppet-agent-641a430f5eff10b87df36d3bbbf3d17db4f206be-redhatfips-7-x86_64.repo)