Comments (10)
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.
Just updated to the latest apt
and apache2
cookbook versions, but did not help, still the same error.
from chef.
@tknerr out of curiosity - what if you use install_apt_package
? Does the test pass on Ubuntu?
from chef.
@sethvargo yes, it does
from chef.
@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.
@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.
grumble. I think it's this e9cfad2 /cc @sersut
from chef.
@danielsdeleo bisect tells me it's that commit
from chef.
@sersut @danielsdeleo @sethvargo can also confirm in my tests that e9cfad2 is the culprit
from chef.
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)
- sleep is not a built-in Windows command. This depends on Win2K3 resource kit. Suggest timeout be used instead. HOT 3
- Chef fails with inspec 6.6 HOT 1
- Cannot build chef from source using `omnibus`
- Cannot build chef from source using `omnibus` HOT 1
- Sensitive properties of custom resources leaked via failed regex constraints
- windows_security_policy incorrectly reporting updates
- Net::HTTPServerException: 405 "Not Allowed" while saving node at the end of a chef-client run / node bootstrap HOT 2
- Lazy node attributes aren't "un-lazied" in some contexts
- Release schedule documentation is out of date
- [Chef 18] chef_client_config breaks with `rights` in the current code base HOT 2
- Start a service after enabling it HOT 2
- Cloud helper functions return incorrect results after nodes are moved between clouds (Azure -> AWS)
- 18.4.2 windows_service property "description": NoMethodError HOT 3
- 'log' resource ignores the 'message' attribute, and will always use the name of the resource as the message
- chef_client_config errors out for bool property
- apt_repository should not use deprecated apt-key anymore HOT 2
- Deprecate osx_profile resource since it can longer silently install profiles HOT 1
- Sysctl resource behaves incorrectly when supplied with comment
- The Supermarket cookbook API limit has changed
- chef-client runs with version 18.x get a EOL warning HOT 1
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 chef.