[chef] apache2 resource not found?


Chronological Thread 
  • From: Michael Lindsay < >
  • To:
  • Subject: [chef] apache2 resource not found?
  • Date: Mon, 22 Dec 2014 17:16:40 -0800

Hello,

I've just started getting this error when I do a run of a cookbook that had been working (albeit before a hefty refactor) I've tried to undo all of the things, but can't seem to get this error to go away...  what seems most odd here is that it appears to originate from the apache2 cookbook itself, but I know that it sets itself up as a service because it's there when I ssh in.

[2014-12-23T00:59:02+00:00] ERROR: chaucer_service_php[auth] (auth::developer line 15) had an error: Chef::Exceptions::ResourceNotFound: resource template[/etc/apache2/mods-available/php5.conf] is configured to notify resource service[apache2] with action reload, but service[apache2] cannot be found in the resource collection. template[/etc/apache2/mods-available/php5.conf] is defined in /tmp/kitchen/cache/cookbooks/apache2/definitions/apache_mod.rb:21:in `block in from_file' 

any ideas how I can get around this?

TIA,

 - Michael





Archive powered by MHonArc 2.6.16.

§