Open valachi opened 12 years ago
+1 same issue here. OS X 10.8.
➽ knife -v
Chef: 0.10.10
➽ git --version
git version 1.7.8.3
knife-github-cookbooks (0.1.5)
could be related to github deprecating their v2 api.
this fork seems to have the fix, and also seems to be the one i get when i "gem install ..."
Same error happened to me.
knife cookbook download apache2
Downloading apache2 cookbook version 1.7.0
Downloading resources
Downloading providers
Downloading recipes
ERROR: The object you are looking for could not be found
Response: #<Net::ReadAdapter:0x000000030a1240>
Knife version:
$ knife -v
Chef: 11.6.0
root@Ubuntu-1204-precise-64-minimal:~/chef-repo/cookbooks# knife cookbook github install fnichol/chef-rvm/v0.9.0 Installing rvm from git://github.com/fnichol/chef-rvm.git to /root/chef-repo/.chef/../cookbooks Checking out the master branch. Pristine copy branch (chef-vendor-rvm) exists, switching to it. Removing pre-existing version. ERROR: The object you are looking for could not be found Response: Not Found root@Ubuntu-1204-precise-64-minimal:~/chef-repo/cookbooks# ls getting-started install_rvm_with_ruby_stable README.md rvm testuser
cookbooks anyway got installed, though