Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
Install EPEL using the epel-release package
Browse files Browse the repository at this point in the history
Instead of pinning the EPEL installation to a specific RPM and version
from a download, we should install EPEL using the `epel-release` package
available in `yum`.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
  • Loading branch information
stevekuznetsov committed Feb 13, 2017
1 parent 05f893d commit 03e177e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant-openshift/action/create_yum_repositories.rb
Expand Up @@ -55,7 +55,7 @@ def call(env)

unless is_fedora
unless env[:machine].communicate.test("rpm -q epel-release")
sudo(env[:machine], "yum install -y http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm")
sudo(env[:machine], "yum install -y epel-release")

#Workaround broken RHEL image which does not recover after restart.
if "VagrantPlugins::AWS::Provider" == env[:machine].provider.class.to_s
Expand Down

0 comments on commit 03e177e

Please sign in to comment.