Hello,
I’ve just started with chef and am having some trouble.
I’m using the munin::server recipe, which includes apache2, which is failing to install on the client machine. The apache2 cookbook is on the chef server… and it’s the one from opscode/chef-repo…
Any debugging tips?
John
2010-04-02_04:29:23.35439 DEBUG: Sending HTTP Request via GET to chef.reflectornetwork.com:4000/roles/monitoring
2010-04-02_04:29:23.35440 DEBUG: Loading Recipe munin::server via include_recipe
2010-04-02_04:29:23.35440 DEBUG: Found recipe server in cookbook munin
2010-04-02_04:29:23.35441 DEBUG: Loading Recipe apache2 via include_recipe
2010-04-02_04:29:23.35441 ERROR: ArgumentError
2010-04-02_04:29:23.35442 FATAL: Cannot find a cookbook named apache2; did you forget to add metadata to a cookbook? (http://wiki.opscode.com/display/chef/Metadata)
2010-04-02_04:29:23.35444 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/cookbook_loader.rb:126:in []' 2010-04-02_04:29:23.35445 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/mixin/language_include_recipe.rb:40:in
include_recipe’
2010-04-02_04:29:23.35445 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/mixin/language_include_recipe.rb:26:in each' 2010-04-02_04:29:23.35447 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/mixin/language_include_recipe.rb:26:in
include_recipe’
2010-04-02_04:29:23.35448 /srv/chef/cache/cookbooks/munin/recipes/server.rb:20:in from_file' 2010-04-02_04:29:23.35448 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/cookbook.rb:171:in
load_recipe’
2010-04-02_04:29:23.35449 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/mixin/language_include_recipe.rb:38:in include_recipe' 2010-04-02_04:29:23.35450 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/mixin/language_include_recipe.rb:26:in
each’
2010-04-02_04:29:23.35450 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/mixin/language_include_recipe.rb:26:in include_recipe' 2010-04-02_04:29:23.35451 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:145:in
load_recipes’
2010-04-02_04:29:23.35453 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/compile.rb:144:in each' 2010-04-02_04:29:23.35454 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/compile.rb:144:in
load_recipes’
2010-04-02_04:29:23.35454 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/compile.rb:54:in initialize' 2010-04-02_04:29:23.35455 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:316:in
new’
2010-04-02_04:29:23.35456 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/client.rb:316:in converge' 2010-04-02_04:29:23.35457 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/client.rb:89:in
run’
2010-04-02_04:29:23.35460 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/application/client.rb:210:in run_application' 2010-04-02_04:29:23.35461 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application/client.rb:202:in
loop’
2010-04-02_04:29:23.35461 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/…/lib/chef/application/client.rb:202:in run_application' 2010-04-02_04:29:23.35462 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/../lib/chef/application.rb:57:in
run’
2010-04-02_04:29:23.35465 /usr/lib/ruby/gems/1.8/gems/chef-0.8.10/bin/chef-client:26
2010-04-02_04:29:23.35465 /usr/bin/chef-client:19:in `load’
2010-04-02_04:29:23.35466 /usr/bin/chef-client:19
–
John Merrells
http://johnmerrells.com
+1.415.244.5808