Open oniGino opened 2 years ago
I think that's solved with https://github.com/voxpupuli/puppet-yum/pull/225. please let me know if it's still an issue.
Confirmed, thank you for your quick response!
Yes this repos work is done, sadly upstream is still broken and ignores the target
value
see
newparam(:target) do
desc 'The target parameter will be enabled in a future release and should not be used.'
defaultto :absent
end
In https://github.com/puppetlabs/puppetlabs-yumrepo_core/blob/main/lib/puppet/type/yumrepo.rb
So until target is honored the bug persists as the incorrect file is created for each repository
When working with Centos 7 and the latest stable of this module it installs for example
base-debuginfo.repo
however this breaks yum as it is a duplicate of a different builtin file in Centos which is namedCentOS-Debuginfo.repo
Here are the correct repo files names from upstream centos
Please adjust your module to install the same file names so it doesn't break yum with duplicate repos.