Skip to content

Instantly share code, notes, and snippets.

@opie4624
Created April 27, 2011 01:19
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 opie4624/943549 to your computer and use it in GitHub Desktop.
Save opie4624/943549 to your computer and use it in GitHub Desktop.
root@prx7:~# shef -z
loading configuration: /etc/chef/client.rb
Session type: client
Loading....................epic fail!
/usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/mixin/recipe_definition_dsl_core.rb:56:in `method_missing': undefined method `template' for #<Chef::Recipe:0x7fe8a0e720a8> (NoMethodError)
from /var/cache/chef/cookbooks/chef-client/recipes/config.rb:29:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/cookbook_version.rb:473:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/mixin/language_include_recipe.rb:27:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/run_context.rb:94:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/run_context.rb:91:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/run_context.rb:91:in `load'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/run_context.rb:55:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef/shef_session.rb:189:in `new'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef/shef_session.rb:189:in `rebuild_context'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef/shef_session.rb:51:in `reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef/shef_session.rb:93:in `loading'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef/shef_session.rb:46:in `reset!'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef.rb:121:in `session'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef.rb:130:in `init'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/lib/chef/shef.rb:61:in `start'
from /usr/lib/ruby/gems/1.8/gems/chef-0.9.16/bin/shef:34
from /usr/bin/shef:19:in `load'
from /usr/bin/shef:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment