example42 / puppet-php

A puppet module for php. According to Example42 NextGen spec.
Other
45 stars 62 forks source link

APC dependent on apache #67

Closed nomasprime closed 10 years ago

nomasprime commented 10 years ago

I'm getting the following error:

Error: Could not find dependent Service[apache2] for Package[PhpModule_apc] at /tmp/vagrant-puppet-3/modules-0/php/manifests/module.pp:82

Unless I'm missing something, shouldn't I be able to use APC with Nginx?

alvagante commented 10 years ago

The modules defaults to apache Set $php::service to nginx whe using nginx

nomasprime commented 10 years ago

@example42 Thanks, this worked. Problem now is uninstalling apache2 raises No such file or directory - /etc/php5/apache2/php.ini

Looks like updating php::config_file will fix this I'm just not sure what template should be set to.

nomasprime commented 10 years ago

I'm just working through this to get something that works but would be good to see some fuller examples in the docs.