Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sebastianwagner opened this issue Jun 17, 2014 · 0 comments

Comments

@sebastianwagner
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant