Skip to content

Instantly share code, notes, and snippets.

@chris
Created April 18, 2011 04:45
Show Gist options
  • Select an option

  • Save chris/924829 to your computer and use it in GitHub Desktop.

Select an option

Save chris/924829 to your computer and use it in GitHub Desktop.
EY chef deploy fail
[Sun, 17 Apr 2011 21:40:19 -0700] INFO: Starting Chef Solo Run
/etc/chef-custom/recipes/cookbooks/mongodb/attributes/recipe.rb:8:in `from_file': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook.rb:73:in `load_attributes'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook.rb:71:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook.rb:71:in `load_attributes'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/compile.rb:61:in `load_attributes'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook_loader.rb:107:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook_loader.rb:106:in `each_value'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook_loader.rb:106:in `each'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/compile.rb:60:in `load_attributes'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:342:in `converge'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/client.rb:96:in `run_solo'
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/bin/chef-solo:94
from /usr/local/ey_resin/ruby/bin/chef-solo:19:in `load'
from /usr/local/ey_resin/ruby/bin/chef-solo:19
@jnak

jnak commented Oct 8, 2011

Copy link
Copy Markdown

Ok, thanks !

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