Skip to content

Instantly share code, notes, and snippets.

@damm
Created November 25, 2009 01:55
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 damm/242404 to your computer and use it in GitHub Desktop.
Save damm/242404 to your computer and use it in GitHub Desktop.
root@ip-10-212-178-191:~/chef/chef# chef-client
[Wed, 25 Nov 2009 01:54:49 +0000] INFO: Starting Chef Run
/usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:115:in `lookup': Cannot find a resource matching service[apache2] (did you define it first?) (ArgumentError)
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:177:in `find_resource_by_hash'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:175:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:175:in `find_resource_by_hash'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:173:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:173:in `find_resource_by_hash'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:137:in `resources'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:134:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource_collection.rb:134:in `resources'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/resource.rb:173:in `resources'
from /var/chef/cache/cookbooks/apache2/definitions/apache_conf.rb:23:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:70:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:70:in `method_missing'
from /var/chef/cache/cookbooks/apache2/definitions/apache_conf.rb:21:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:46:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:46:in `method_missing'
from /var/chef/cache/cookbooks/apache2/definitions/apache_module.rb:24:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:46:in `instance_eval'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:46:in `method_missing'
from /var/chef/cache/cookbooks/apache2/recipes/mod_alias.rb:20:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/cookbook.rb:167:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/recipe.rb:62:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/recipe.rb:50:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/recipe.rb:50:in `include_recipe'
from /var/chef/cache/cookbooks/hasoffers/recipes/dependencies.rb:5:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/cookbook.rb:167:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/recipe.rb:62:in `include_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/recipe.rb:50:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/recipe.rb:50:in `include_recipe'
from /var/chef/cache/cookbooks/hasoffers/recipes/hasoffers_app.rb:19:in `from_file'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/cookbook.rb:167:in `load_recipe'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/compile.rb:151:in `load_recipes'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/compile.rb:140:in `each'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/compile.rb:140:in `load_recipes'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/compile.rb:50:in `initialize'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/client.rb:305:in `new'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/client.rb:305:in `converge'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/client.rb:88:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/application/client.rb:191:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/application/client.rb:183:in `loop'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/application/client.rb:183:in `run_application'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/../lib/chef/application.rb:57:in `run'
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.0/bin/chef-client:26
from /usr/bin/chef-client:19:in `load'
from /usr/bin/chef-client:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment