Skip to content

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

Description

@sebastianwagner

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions