Skip to content

Instantly share code, notes, and snippets.

@uokesita
Created October 30, 2012 16:40
Show Gist options
  • Save uokesita/68d76d81d5c88dfa8a2f to your computer and use it in GitHub Desktop.
Save uokesita/68d76d81d5c88dfa8a2f to your computer and use it in GitHub Desktop.
collectd recipe error
[Tue, 30 Oct 2012 09:34:33 -0700] INFO: Starting Chef Solo Run
/etc/chef/recipes/cookbooks/collectd/libraries/defaults.rb:47:in `vcpus': undefined local variable or method `ec2_instance_size' for #<struct Chef::Node::Collectd size="m1.medium"> (NameError)
from /etc/chef/recipes/cookbooks/collectd/libraries/defaults.rb:30:in `load_defaults'
from /etc/chef/recipes/cookbooks/collectd/libraries/defaults.rb:26:in `defaults'
from /etc/chef/recipes/cookbooks/collectd/libraries/defaults.rb:9:in `defaults'
from /etc/chef/recipes/cookbooks/collectd/libraries/defaults.rb:4:in `default_collectd'
from /etc/chef/recipes/cookbooks/collectd/attributes/defaults.rb:2:in `from_file'
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'
... 6 levels...
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment