Skip to content

Instantly share code, notes, and snippets.

@greenmoss
Created May 6, 2010 21:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greenmoss/392741 to your computer and use it in GitHub Desktop.
Save greenmoss/392741 to your computer and use it in GitHub Desktop.
$ rake upload_cookbook[ssh]
(in /home/me/chef-repo)
INFO: ** ssh **
INFO: Running syntax check on ssh
DEBUG: Staging at /tmp/chef-ssh-build20100506-23487-1iz45s8-0
INFO: Nothing to copy from ./cookbooks/ssh
INFO: Nothing to copy from ./site-cookbooks/ssh
FATAL: Could not find cookbook ssh!
$ ls
certificates config cookbooks last-commit-id Rakefile README roles site-cookbooks
$ ls site-cookbooks/ssh/
attributes libraries metadata.json metadata.rb README.rdoc recipes templates
@greenmoss
Copy link
Author

strace shows attempted access to a previously-unlinked and thus nonexistent file/directory:

23735 stat("/tmp/chef-ssh20100506-23735-108impp-0.lock", 0x7fff72815c80) = -1 ENOENT (No such file or directory)
23735 stat("/tmp/chef-ssh20100506-23735-108impp-0", 0x7fff728165e0) = -1 ENOENT (No such file or directory)
23735 mkdir("/tmp/chef-ssh20100506-23735-108impp-0.lock", 0777) = 0
23735 open("/tmp/chef-ssh20100506-23735-108impp-0", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
23735 rmdir("/tmp/chef-ssh20100506-23735-108impp-0.lock") = 0
23735 unlink("/tmp/chef-ssh20100506-23735-108impp-0") = 0
23735 stat("/tmp/chef-ssh20100506-23735-108impp-0", 0x7fff7281de90) = -1 ENOENT (No such file or directory)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment