Comments (4)
i removed my Berkshelf.lock and rebuild the whole cookbook tree - then it started to work - does that make any sense?
from git.
@EugenMayer That makes sense. It means that the version of a cookbook was locked to a previous version of the cookbook that wasn't Chef 13 compliant. By clearing out the Berkshelf.lock it would pull down current versions that resolved the Chef 13 issue.
from git.
Looks like i am getting below while running from chef DK v 2.0.28.
PS C:\Users\e3018705\chef-repo> knife job start chef-client indretest-1
C:/opscode/chefdk/embedded/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- chef/rest (LoadError) from C:/opscode/chefdk/embedded/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/knife-push-1.0.2/lib/chef/knife/job_start.rb:27:in block in <class:JobStart>' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/lib/chef/knife.rb:232:in
block in load_deps'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/lib/chef/knife.rb:231:in each' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/lib/chef/knife.rb:231:in
load_deps'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/lib/chef/knife.rb:216:in run' from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/lib/chef/application/knife.rb:156:in
run'
from C:/opscode/chefdk/embedded/lib/ruby/gems/2.4.0/gems/chef-13.2.20-universal-mingw32/bin/knife:25:in <top (required)>' from C:/opscode/chefdk/modules/chef/../../bin/knife:275:in
load'
from C:/opscode/chefdk/modules/chef/../../bin/knife:275:in `
PS C:\Users\e3018705\chef-repo>
from git.
@Erarunkumar please open a new issue in the appropriate github repository. It's unclear what this has to do with this specific git issue from your error message.
from git.
Related Issues (20)
- undefined method `provides' for Chef::Provider::GitClient::Osx:Class
- Source recipe fails on subsequent converge if package based install used in between HOT 7
- Provide an option to also install man pages?
- Funky % parsing for attributes breaks basic Windows usage HOT 3
- package_version doesn't install the specified version HOT 2
- NoMethodError-> undefined method `set' for Chef::Platform:Class HOT 6
- References to default versions in README.md need to be modified HOT 1
- getting issue while installing git on a node from chefdk HOT 1
- Checkout modifies mtimes HOT 1
- not pulling the latest git version HOT 2
- No need to download sources if the installed version is same as expected version. HOT 2
- suggestion: Install from kernel.org and verify GPG signatures HOT 3
- cookbook requires 13.0+ instead of 12.7+ HOT 3
- STDERR: No provider of 'git=2.26.2-27.36.1' found. HOT 3
- MacOS need the option to overwrite the previously installed Git client
- wrong package name on smartos
- Windows PATH bug
- Dependency Dashboard
- ### :speaking_head
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 git.