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

Use same check for download and install of repos #214

Open
wants to merge 1 commit into
base: euca-4.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@

remote_file "/tmp/epel-release.rpm" do
source node["eucalyptus"]["epel-rpm"]
not_if "rpm -qa | grep 'epel-release'"
not_if "ls /etc/yum.repos.d/epel*"
end

remote_file "/tmp/elrepo-release.rpm" do
source node["eucalyptus"]["elrepo-rpm"]
not_if "rpm -qa | grep 'elrepo-release'"
not_if "ls /etc/yum.repos.d/elrepo*"
end

execute 'yum install -y *epel*.rpm' do
Expand Down