Skip to content

Commit

Permalink
Merge pull request #25 from cmluciano/drag00n/centos7epel
Browse files Browse the repository at this point in the history
Add yum-epel recipe to install prereqs for erlang.
  • Loading branch information
nathenharvey committed Feb 18, 2015
2 parents c98d567 + 4ebfc27 commit fc23046
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions recipes/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@
package 'erlang-dev'

when 'rhel'
include_recipe 'yum-epel'
case node['platform_version'].to_i
when 5
include_recipe 'yum-epel'

yum_repository 'EPELErlangrepo' do
description "Updated erlang yum repository for RedHat / Centos 5.x - #{node['kernel']['machine']}"
baseurl 'http://repos.fedorapeople.org/repos/peter/erlang/epel-5Server/$basearch'
gpgcheck false
action :create
end

else
include_recipe 'yum-erlang_solutions'
end
Expand Down

0 comments on commit fc23046

Please sign in to comment.