Sha256: e1a77c03941b8d2f862e884aeec21d1b565a7cbb2e639787a9cb3279dfc17d39

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

<%
  epel_url = "http://dl.fedoraproject.org/pub/epel/$major/$arch/epel-release-$os.noarch.rpm"

  case @host.operatingsystem.major
  when "4"
  epel_url.gsub!("$os","4-10")
  when "5"
  epel_url.gsub!("$os","5-4")
  when "6"
  epel_url.gsub!("$os","6-8")
  else
  ""
  end
-%>
su -c 'rpm -Uvh <%= @host.os.medium_uri(@host, epel_url) %>'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/unattended/snippets/_epel.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/unattended/snippets/_epel.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/unattended/snippets/_epel.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/unattended/snippets/_epel.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/unattended/snippets/_epel.erb