Skip to content

Instantly share code, notes, and snippets.

@maewolfsky
Created November 6, 2012 21:36
Show Gist options
  • Save maewolfsky/4027756 to your computer and use it in GitHub Desktop.
Save maewolfsky/4027756 to your computer and use it in GitHub Desktop.
Shef error
$ shef -z -c .chef/knife.rb
loading configuration: .chef/knife.rb
Session type: client
Loading...[2012-11-06T15:34:42-06:00] INFO: Run List is []
[2012-11-06T15:34:42-06:00] INFO: Run List expands to []
.[2012-11-06T15:34:43-06:00] INFO: Loading cookbooks []
done.
This is shef, the Chef shell.
Chef Version: 10.14.2
http://www.opscode.com/chef
http://wiki.opscode.com/display/chef/Home
run `help' for help, `exit' or ^D to quit.
Ohai2u [email protected]!
chef > recipe
chef:recipe > include_recipe 'nginx'
Chef::Exceptions::CookbookNotFound: Cookbook nginx not found. If you're loading nginx from another cookbook, make sure you configure the dependency in your metadata
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/cookbook/cookbook_collection.rb:38:in `block in initialize'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/ohai-6.14.0/lib/ohai/mash.rb:77:in `yield'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/ohai-6.14.0/lib/ohai/mash.rb:77:in `default'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/ohai-6.14.0/lib/ohai/mash.rb:77:in `default'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/mixin/language_include_recipe.rb:45:in `[]'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/mixin/language_include_recipe.rb:45:in `load_recipe'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/mixin/language_include_recipe.rb:33:in `block in include_recipe'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/mixin/language_include_recipe.rb:27:in `each'
from /usr/local/Cellar/ruby/1.9.3-p286/lib/ruby/gems/1.9.1/gems/chef-10.14.2/lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
from (irb#1):1
chef:recipe >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment