Skip to content

Instantly share code, notes, and snippets.

@apsoto
Created August 26, 2011 22:43
Show Gist options
  • Save apsoto/1174606 to your computer and use it in GitHub Desktop.
Save apsoto/1174606 to your computer and use it in GitHub Desktop.
knife cookbooks site install apt
$ knife cookbook site install apt -V
Installing apt to ./cookbooks
Checking out the master branch.
Creating pristine copy branch chef-vendor-apt
Downloading apt from the cookbooks site at version 1.1.2 to ./cookbooks/apt.tar.gz
Cookbook saved: ./cookbooks/apt.tar.gz
Removing pre-existing version.
Uncompressing apt version ./cookbooks.
ERROR: Chef::Exceptions::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of tar zxvf ./cookbooks/apt.tar.gz ----
STDOUT:
STDERR: tar: Error opening archive: Failed to open './cookbooks/apt.tar.gz': No such file or directory
---- End output of tar zxvf ./cookbooks/apt.tar.gz ----
Ran tar zxvf ./cookbooks/apt.tar.gz returned 1
[~/projects/wurl/ops/wurl-chef-repo branch:chef-vendor-apt ruby:ruby-1.9.2-p180@wurl-chef-repo]
$ ls
Gemfile Gemfile.lock README cookbooks/ environments/ roles/ site-cookbooks/
[~/projects/wurl/ops/wurl-chef-repo branch:chef-vendor-apt ruby:ruby-1.9.2-p180@wurl-chef-repo]
$ ls cookbooks/
README apt.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment