Code Monkey home page Code Monkey logo

Comments (10)

tknerr avatar tknerr commented on May 12, 2024

Interestingly, it seems to work on centos platforms, because the centos examples pass:
https://github.com/tknerr/sample-application-cookbook/blob/chefdk-update/test/chefspec/default_spec.rb#L15-19

..while the ubuntu examples a few lines above fail:
https://github.com/tknerr/sample-application-cookbook/blob/chefdk-update/test/chefspec/default_spec.rb#L9-13

from chef.

tknerr avatar tknerr commented on May 12, 2024

Just updated to the latest apt and apache2 cookbook versions, but did not help, still the same error.

from chef.

sethvargo avatar sethvargo commented on May 12, 2024

@tknerr out of curiosity - what if you use install_apt_package? Does the test pass on Ubuntu?

from chef.

tknerr avatar tknerr commented on May 12, 2024

@sethvargo yes, it does

from chef.

sethvargo avatar sethvargo commented on May 12, 2024

@tknerr can you find the last known version of Chef where this worked as expected? @danielsdeleo did something change in Chef about how resources for packages are added to the collection?

from chef.

sersut avatar sersut commented on May 12, 2024

@tknerr / @sethvargo we had a regression in rc.1 for ubuntu platforms >= 13.10. I'm not sure if that is related to this issue: #1582

from chef.

danielsdeleo avatar danielsdeleo commented on May 12, 2024

grumble. I think it's this e9cfad2 /cc @sersut

from chef.

sethvargo avatar sethvargo commented on May 12, 2024

@danielsdeleo bisect tells me it's that commit

from chef.

tknerr avatar tknerr commented on May 12, 2024

@sersut @danielsdeleo @sethvargo can also confirm in my tests that e9cfad2 is the culprit

from chef.

sersut avatar sersut commented on May 12, 2024

We need to revert the new indirection mechanism that we introduced with problematic commit and move the timeout attribute to Chef::Resource::Package in order to remediate this issue.

from chef.

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.