Skip to content

Instantly share code, notes, and snippets.

@josephholsten
Created March 1, 2012 02:54
Show Gist options
  • Save josephholsten/1946892 to your computer and use it in GitHub Desktop.
Save josephholsten/1946892 to your computer and use it in GitHub Desktop.
¿ knife cookbook site install git -VV
DEBUG: Using configuration from /Users/josephholsten/Developer/chef/.chef/knife.rb
Installing git to cookbooks
DEBUG: sh(git branch --no-color)
chef-vendor-git
* master
DEBUG: sh(git status --porcelain)
?? typescript
Checking out the master branch.
DEBUG: sh(git checkout master)
DEBUG: sh(git branch --no-color)
chef-vendor-git
* master
Pristine copy branch (chef-vendor-git) exists, switching to it.
DEBUG: sh(git checkout chef-vendor-git)
DEBUG: Sending HTTP Request via GET to cookbooks.opscode.com:80/api/v1/cookbooks/git
DEBUG: Sending HTTP Request via GET to cookbooks.opscode.com:80/api/v1/cookbooks/git/versions/0_10_0
Downloading git from the cookbooks site at version 0.10.0 to cookbooks/git.tar.gz
DEBUG: Sending HTTP Request via GET to s3.amazonaws.com:80/community-files.opscode.com/cookbook_versions/tarballs/1180/original/git.tgz
DEBUG: Streaming download from http://s3.amazonaws.com/community-files.opscode.com/cookbook_versions/tarballs/1180/original/git.tgz?1323412267 to tempfile /var/folders/pr/vc126rq17rdc1mw4dzgm21zh0000gn/T/chef-rest20120229-15701-wnllqs-0
Cookbook saved: cookbooks/git.tar.gz
Removing pre-existing version.
Uncompressing git version cookbooks.
DEBUG: sh(tar zxvf cookbooks/git.tar.gz)
/Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/shell_out.rb:206:in `invalid!': Expected process to exit with [0], but received '1' (Chef::Exceptions::ShellCommandFailed)
---- Begin output of tar zxvf cookbooks/git.tar.gz ----
STDOUT:
STDERR: tar: Error opening archive: Failed to open 'cookbooks/git.tar.gz'
---- End output of tar zxvf cookbooks/git.tar.gz ----
Ran tar zxvf cookbooks/git.tar.gz returned 1
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/shell_out.rb:192:in `error!'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/mixin/shell_out.rb:36:in `shell_out!'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/knife/cookbook_site_install.rb:131:in `extract_cookbook'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/knife/cookbook_site_install.rb:81:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/knife.rb:391:in `run_with_pretty_exceptions'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/knife.rb:166:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/lib/chef/application/knife.rb:128:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.10.8/bin/knife:25
from /usr/bin/knife:19:in `load'
from /usr/bin/knife:19
¿
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment