Skip to content

Instantly share code, notes, and snippets.

@coderforhire
Created March 29, 2012 14:38
Show Gist options
  • Save coderforhire/2238041 to your computer and use it in GitHub Desktop.
Save coderforhire/2238041 to your computer and use it in GitHub Desktop.
usr/lib/ruby/1.8/chef/node.rb:329:in `json_create': undefined method `each' for nil:NilClass (NoMethodError)
from /usr/lib/ruby/vendor_ruby/json/common.rb:148:in `parse'
from /usr/lib/ruby/vendor_ruby/json/common.rb:148:in `parse'
from /usr/lib/ruby/1.8/chef/rest.rb:202:in `api_request'
from /usr/lib/ruby/1.8/chef/rest.rb:267:in `retriable_rest_request'
from /usr/lib/ruby/1.8/chef/rest.rb:197:in `api_request'
from /usr/lib/ruby/1.8/chef/rest.rb:100:in `get_rest'
from /usr/lib/ruby/1.8/chef/client.rb:151:in `build_node'
from /usr/lib/ruby/1.8/chef/client.rb:84:in `run'
from /usr/lib/ruby/1.8/chef/application/client.rb:215:in `run_application'
from /usr/lib/ruby/1.8/chef/application/client.rb:207:in `loop'
from /usr/lib/ruby/1.8/chef/application/client.rb:207:in `run_application'
from /usr/lib/ruby/1.8/chef/application.rb:62:in `run'
from /usr/bin/chef-client:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment