Skip to content

Commit

Permalink
use perl language data from ohai
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Jun 29, 2009
1 parent 9aa68c4 commit 8c60657
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions perl/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,7 @@
else
path "/etc/perl/CPAN/Config.pm"
end
# workaround until change for OHAI-75 is in stable release.
# source "Config-#{node[:languages][:perl][:version]}.pm"
case node[:platform]
when "debian","ubuntu"
source "Config-5.10.0.pm"
when "centos","redhat"
source "Config-5.8.8.pm"
end
source "Config-#{node[:languages][:perl][:version]}.pm"
owner "root"
group "root"
mode 0644
Expand Down

0 comments on commit 8c60657

Please sign in to comment.