Comments (6)
Running into this on CentOS 6.4 also using yum-epel
version 0.5.2
. I was able to manually fix my chef run by installing ca-cert bundle:
yum update -y ca-certificates
This package should probably be a dependency/pre-req for this cookbook on CentOS 6.4 (at least with https GPG & metalink URLs... and even mirrorlists that contain https links).
The workaround way for getting my test-kitchen run to work was to use these attributes in my .kitchen.yml
:
- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.4_chef-11.4.0.box
attributes:
yum:
epel:
mirrorlist: http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
gpgkey: http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6
sslverify: false
from yum-epel.
Yup this is getting super annoying. I have lots of CentOS 6.4 boxes and cookbooks. I have been overriding the HTTPS urls in all my recipes as and when i need to update them to use the this new yum-epel
version. Also updating curl may help, but I really think this recipe should work without having to preprepare with certs or other arbitrary updates. Can these dependencies be encapsulated here?
from yum-epel.
Hi. I've updated the yum_repository resource so it manages ca-certificates, and released it as yum-3.5.0.
I tested this against the 6.4 bento box and it clears up this issue.
closing!
from yum-epel.
Awesome, thanks!
from yum-epel.
Yahoo, thanks ^_^
from yum-epel.
I reverted change to to yum_repository, since it wasn't working on EL5, then reverted the commit that enabled SSL on by default on this cookbook.
from yum-epel.
Related Issues (20)
- Low Priority - Consider adding Oracle Linux Support HOT 1
- Deprecated messages on converge HOT 3
- Chef 13 support HOT 2
- latest release does no longer allow to turn off boolean settings HOT 1
- the `mirrorlist` default value should be changed in the `epel.rb` attributes for linux 6 and 7 HOT 3
- Version constrait on yum in 0.6.6 may be overly restrictive HOT 1
- mirrorlist is missing in /etc/yum.repo.d/epel-testing.repo HOT 1
- metadata.rb format is invalid HOT 3
- NoMethodError: No resource or method named `yum_repository' for `ChefCompat::Recipe "default"' HOT 1
- Cannot find a valid baseurl for repo error after upgrading from 2.0.0 to 2.10 HOT 7
- disable other repositories / get packages from epel HOT 1
- Some packages not found with epel repo config from this cookbook HOT 3
- Cannot install yum-epel HOT 1
- ERROR: TypeError: no implicit conversion of nil into String HOT 3
- Add Amazon Linux2 HOT 1
- Why we are not providing HTTPS mirrorlist in RHEL 7.5 HOT 1
- Gracefully fail for non yum systems
- 4.x released drops support for Oracle EL HOT 3
- aarch64 not supported HOT 2
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yum-epel.