Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: chef-server
-
Labels:
-
Environment:
Centos 6.2 and Redhat 6.2
Description
epel recipe in bootstrap-latest.tar.gz has pointed to epel-release-6-5.noarch.rpm while the latest version of epel is 6-7 ( ie epel-release-6-7.noarch.rpm ). When I run "sudo chef-solo -c /etc/chef/solo.rb -j ~/chef.json -r https://s3.amazonaws.com/chef-solo/bootstrap-latest.tar.gz", it failed with file not found.
To fix this problem, I need to modify cookbook/yum/attributes/default.rb from
default['yum']['epel_release'] = case node['platform_version'].to_i
when 6
"6-5"
when 5
"5-4"
when 4
"4-10"
end
to
default['yum']['epel_release'] = case node['platform_version'].to_i
when 6
"6-7"
when 5
"5-4"
when 4
"4-10"
end
I run into the same issue. Unfortunately, changing it then running the command to install chef-server doesn't work because it reverts back.
CentOS 6.2 64bit
Error yum::epel line 26
also adding the proper Epel repo does not resolve this issue.
Thanks to the original poster and Thanks in advance for the added support toward resolving this issue.