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
any ideas how I can get around this?