cookbook-php-fpm
cookbook-php-fpm copied to clipboard
ubuntu 15.04 ships without upstart
The install recipe attempts to utilize upstart for versions of Ubuntu at 13.10 and beyond (see lines 44-46). I discovered that 15.04 does not ship with upstart enabled and instead uses systemd. I imagine this affects 15.10 as well but have not tested to confirm that. As a result, the following error manifests:
==> default: * service[php-fpm] action enable
==> default:
==> default:
==> default: ================================================================================
==> default: Error executing action enable
on resource 'service[php-fpm]'
==> default: ================================================================================
==> default:
==> default: Errno::ENOENT
==> default: -------------
==> default: No such file or directory - /sbin/status
I have resolved this in my environment by commenting out lines 44-46 but a proper fix would limit the range of utilizing upstart to versions of ubuntu where it ships as default (13.10 to 14.10 I believe).
Also get this on Debian 8