Revision 91f087cd
Added by Ohad Levy about 12 years ago
- ID 91f087cd0ae9df410ffcfa74aa81d26ae78a4927
app/models/redhat.rb | ||
---|---|---|
|
||
# installs the epel repo
|
||
def epel host
|
||
epel_url = "http://download.fedora.redhat.com/pub/epel/$major/$arch/epel-release-$os.noarch.rpm"
|
||
epel_url = "http://download.fedoraproject.org/pub/epel/$major/$arch/epel-release-$os.noarch.rpm"
|
||
|
||
case host.operatingsystem.major
|
||
when "4"
|
Also available in: Unified diff
fixes #1511 - EPEL repo has changed