Merge "Adds EPEL repo, cleans up rhel7 repos"

This commit is contained in:
Jenkins 2014-09-20 19:12:05 +00:00 committed by Gerrit Code Review
commit b308c844ae
3 changed files with 7 additions and 23 deletions

2
elements/epel/README.md Normal file
View File

@ -0,0 +1,2 @@
This element installs the Extra Packages for Enterprise Linux (EPEL)
repository GPG key as well as configuration for yum.

View File

@ -0,0 +1,5 @@
#!/bin/bash
set -eu
set -o pipefail
yum install -y http://dl.fedoraproject.org/pub/epel/beta/7/x86_64/epel-release-7-1.noarch.rpm

View File

@ -1,23 +0,0 @@
#!/bin/bash
set -eu
set -o pipefail
cat << EOF > /etc/yum.repos.d/epel.repo
[epel]
name=epel
failovermethod=priority
baseurl=http://download-i2.fedoraproject.org/pub/epel/beta/7/x86_64/
enabled=1
metadata_expire=7d
gpgcheck=0
EOF
cat << EOF > /etc/yum.repos.d/bnemec-os-config.repo
[bnemec-os-config]
name=Copr repo for os-config owned by bnemec
baseurl=http://copr-be.cloud.fedoraproject.org/results/bnemec/os-config/epel-7-x86_64/
skip_if_unavailable=True
gpgcheck=0
enabled=1
EOF