Skip to content

Instantly share code, notes, and snippets.

@blasterpal
Created October 28, 2011 19:37
Show Gist options
  • Save blasterpal/1323281 to your computer and use it in GitHub Desktop.
Save blasterpal/1323281 to your computer and use it in GitHub Desktop.
Chef-firewall-resource-errors
Generated at 2011-10-28 19:27:20 +0000
NoMethodError: undefined method `firewall' for #<Chef::Recipe:0x00000004d64288>
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/recipe_definition_dsl_core.rb:56:in `method_missing'
/var/chef/cache/cookbooks/frodo/recipes/default.rb:28:in `from_file'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:in `instance_eval'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:in `from_file'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/cookbook_version.rb:578:in `load_recipe'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:40:in `block in include_recipe'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:in `each'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:in `include_recipe'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/run_context.rb:72:in `block in load'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/run_context.rb:69:in `each'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/run_context.rb:69:in `load'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/client.rb:195:in `setup_run_context'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/client.rb:159:in `run'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/client.rb:239:in `block in run_application'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/client.rb:229:in `loop'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application/client.rb:229:in `run_application'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/lib/chef/application.rb:67:in `run'
/usr/lib/ruby/gems/1.9.1/gems/chef-0.10.4/bin/chef-client:26:in `<top (required)>'
/usr/bin/chef-client:19:in `load'
/usr/bin/chef-client:19:in `<main>'
The call is within my recipe:
firewall "ufw" do
action :enable
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment