puppet-php icon indicating copy to clipboard operation
puppet-php copied to clipboard

php::mod_php5 doesn't work with debian conf-available and a2enconf

Open sebastianwagner opened this issue 11 years ago • 0 comments

Debian now seems to use a similar technique for configuration files as it already does for modules and sites: a2enconf allows to enable(speak: symlink) config files residing in /etc/apache2/conf-available/. So it is not ensured that the directory conf.d exists anymore. This makes puppet fail:

Error: /Stage[main]/Php::Mod_php5/File[/etc/apache2/conf.d/php.conf]/ensure: change from absent to file failed: Could not set 'file' on ensure: No such file or directory - /etc/apache2/conf.d/php.conf20140617-9548-e4ko7 at 26:/tmp/vagrant-puppet-1/modules-0/php/manifests/mod_php5.pp

A workaround would be to create this directory manually.

sebastianwagner avatar Jun 17 '14 14:06 sebastianwagner