example42/puppet-yum

Epel repo doesn't work on CentOS 7 x86_64

Opened this issue · 3 comments

I've installed epel-release manually, and what I see in /etc/yum.repos.d/epel.repo is the following:

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch

However, what puppet-yum generates is this:

mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=$basearch

epel-source is the repo for source rpms, epel is the one for [compiled] rpms.
The module actually managed both, here: https://github.com/example42/puppet-yum/blob/master/manifests/repo/epel.pp

Thanks. Sorry, I didn't know that.

However, when I let puppet-yum manage my epel repository, I get a 404 error on all of the mirrors. The only way i found was to manually install epel-release and remove epel from extrarepo.

oh, ok, then this is a real issue... will have to look at it