Skip to content

Instantly share code, notes, and snippets.

@rberger
Created November 1, 2010 00:05
Show Gist options
  • Save rberger/657354 to your computer and use it in GitHub Desktop.
Save rberger/657354 to your computer and use it in GitHub Desktop.
$ knife cookbook site vendor nginx
INFO: Downloading nginx from the cookbooks site at version 0.14.3
INFO: Cookbook saved: /Users/rberger/work/runa/runa_repo/cookbooks/nginx.tar.gz
INFO: Checking out the master branch.
/Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/mixin/command.rb:184:in `handle_command_failures': git checkout master returned 1, expected 0 (Chef::Exceptions::Exec)
from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/mixin/command.rb:131:in `run_command'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/knife/cookbook_site_vendor.rb:65:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/knife.rb:127:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/lib/chef/application/knife.rb:121:in `run'
from /Library/Ruby/Gems/1.8/gems/chef-0.9.12/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