example42 / puppet-apache

Apache Puppet Module
http://www.example42.com
Other
41 stars 79 forks source link

Ubuntu 14.04 /etc/apache2/conf.d no longer exists #72

Closed rekcah78 closed 10 years ago

rekcah78 commented 10 years ago

Hi,

I encounter a problem with the apache module to the latest version of Ubuntu. I thinks it's broken because /etc/apache2/conf.d no longer exists.

Error: Could not set 'present' on ensure: No such file or directory - /etc/apache2/conf.d/0000_listen_8080.conf20140704-32326-fzozgv.lock at 40:/etc/puppet/modules/apache/manifests/listen.pp Error: Could not set 'present' on ensure: No such file or directory - /etc/apache2/conf.d/0000_listen_8080.conf20140704-32326-fzozgv.lock at 40:/etc/puppet/modules/apache/manifests/listen.pp Wrapped exception: No such file or directory - /etc/apache2/conf.d/0000_listen_8080.conf20140704-32326-fzozgv.lock Error: /Stage[main]/Azoy::Middleware-web/Apache::Listen[8080]/File[Apache_Listen_8080.conf]/ensure: change from absent to present failed: Could not set 'present' on ensure: No such file or directory - /etc/apache2/conf.d/0000_listen_8080.conf20140704-32326-fzozgv.lock at 40:/etc/puppet/modules/apache/manifests/listen.pp

/etc/apache2> ls -l <11:31:30 total 80 -rw-r--r-- 1 root root 7115 janv. 7 14:23 apache2.conf drwxr-xr-x 2 root root 4096 juil. 3 17:15 conf-available drwxr-xr-x 2 root root 4096 juil. 3 17:15 conf-enabled -rw-r--r-- 1 root root 1782 janv. 3 15:48 envvars -rw-r--r-- 1 root root 31063 janv. 3 15:48 magic drwxr-xr-x 2 root root 12288 juil. 3 17:15 mods-available drwxr-xr-x 2 root root 4096 juil. 3 17:15 mods-enabled -rw-r--r-- 1 root root 320 janv. 7 14:23 ports.conf drwxr-xr-x 2 root root 4096 juil. 4 11:27 sites-available drwxr-xr-x 2 root root 4096 juil. 4 11:27 sites-enabled

yannh commented 10 years ago

Can confirm and it's painful. @rekcah78 did you work around it or patch it? I will try to write a fix for this if you didnt already.

alvagante commented 10 years ago

patch welcomed, Actually if you are interested in co-maintaning this or other modules under the example42 organization, please let me know.

On Tue, Sep 30, 2014 at 5:12 PM, Yann Hamon notifications@github.com wrote:

Can confirm and it's painful. @rekcah78 https://github.com/rekcah78 did you work around it or patch it? I will try to write a fix for this if you didnt already.

— Reply to this email directly or view it on GitHub https://github.com/example42/puppet-apache/issues/72#issuecomment-57329345 .

book { 'Extending Puppet': author => 'Alessandro Franceschi', url => 'http://amzn.to/1nenFti', comments => 'Potentially the best and most important book on Puppet yet.', }

yannh commented 10 years ago

@alvagante > I'm nearly done, patch will be coming tomorrow. Regarding co-maintaing some modules, why not, let's discuss it later!

rekcah78 commented 10 years ago

I made a patch in July but crap and not enough time to put a good patch, patch from @yannh is good so I'll upgrade to this version.