Skip to content

Commit

Permalink
Remove yum-epel case statement.
Browse files Browse the repository at this point in the history
As of [PR25](sous-chefs/erlang#25),
yum-epel and yum-erlang_solutions are included by
default for all 'rhel' systems greater than 5.
  • Loading branch information
cmluciano committed Mar 1, 2015
1 parent 7970f91 commit 405e89c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ class Chef::Resource # rubocop:disable all
include Opscode::RabbitMQ # rubocop:enable all
end

case node['platform_family']
when 'rhel', 'fedora'
if node['platform_version'].to_f >= 7.0
include_recipe 'yum-epel'
include_recipe 'yum-erlang_solutions'
end
end
# case node['platform_family']
# when 'rhel', 'fedora'
# if node['platform_version'].to_f >= 7.0
# include_recipe 'yum-epel'
# include_recipe 'yum-erlang_solutions'
# end
# end

include_recipe 'erlang'

Expand Down

0 comments on commit 405e89c

Please sign in to comment.