Git Product home page Git Product logo

Comments (6)

trinitronx avatar trinitronx commented on August 14, 2024

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.

pghalliday avatar pghalliday commented on August 14, 2024

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.

someara avatar someara commented on August 14, 2024

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.

pghalliday avatar pghalliday commented on August 14, 2024

Awesome, thanks!

from yum-epel.

trinitronx avatar trinitronx commented on August 14, 2024

Yahoo, thanks ^_^

from yum-epel.

someara avatar someara commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.