voxpupuli / puppet-epel

Setup/configure EPEL (extra repository for enterprise linux) with Puppet
Apache License 2.0
41 stars 95 forks source link

proxy = 'absent' breaks EPEL #94

Closed genebean closed 4 years ago

genebean commented 4 years ago

It seems something has changed related to this: https://github.com/stahnma/puppet-module-epel/blob/f1571920d057b069bc8f66fef88ed91fb0a4821a/manifests/params.pp#L3-L9

$ cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)

$ sudo yum makecache
Loaded plugins: fastestmirror, versionlock
Repository 'epel-testing': Error parsing config: Error parsing "proxy = 'absent'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
Repository 'epel-testing-debuginfo': Error parsing config: Error parsing "proxy = 'absent'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
Repository 'epel-testing-source': Error parsing config: Error parsing "proxy = 'absent'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
Repository 'epel': Error parsing config: Error parsing "proxy = 'absent'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
Repository 'epel-debuginfo': Error parsing config: Error parsing "proxy = 'absent'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
Repository 'epel-source': Error parsing config: Error parsing "proxy = 'absent'": URL must be http, ftp, https, socks4, socks4a, socks5 or socks5h not ""
genebean commented 4 years ago

Not sure if this is an EPEL thing, a yum thing, or puppetlabs/yumrepo_core thing, but it looks like replacing 'absent' with _none_ unbreaks things. I opened https://tickets.puppetlabs.com/browse/MODULES-10357 about this too

rnelson0 commented 4 years ago

It's an issue with the yumrepo_core module and 1.0.6 was just released with the fix. There's a conversation on slack in #forge_modules if you need more info. I'm going to close this out.