Control: tags 764699 + patch

On Fri, Oct 10, 2014 at 11:13:49AM +0000, Hugo Landau <hlan...@devever.net> 
wrote:
> Package: augeas-lenses
> Version: 1.2.0-0.2
> Severity: normal
> 
> /usr/share/augeas/lenses/dist/httpd.aug lists the directories which should be 
> checked
> for apache2 config files, however it fails to list 
> /etc/apache2/conf-enabled/*. The
> list of paths in httpd.aug should be updated to include this directory.
>

In fact, the problem is that Apache2 used conf.d directory in Wheezy but it no
longer the case. Jessie's Apache2 uses conf-available directory now. The lense 
should
be updated to reflect that.

A fix could be then:

--- httpd.aug   2015-07-08 12:46:26.299819633 +0200
+++ /tmp/httpd.aug      2015-07-08 12:47:04.667240273 +0200
@@ -90,7 +90,7 @@
 let filter = (incl "/etc/apache2/apache2.conf") .
              (incl "/etc/apache2/httpd.conf") .
              (incl "/etc/apache2/ports.conf") .
-             (incl "/etc/apache2/conf.d/*") .
+             (incl "/etc/apache2/conf-available/*") .
              (incl "/etc/apache2/mods-available/*") .
              (incl "/etc/apache2/sites-available/*") .
              (incl "/etc/httpd/conf.d/*.conf") .

Admittedly, we could keep "/etc/apache2/conf.d/*" in the lense to avoid breaking
old configurations or having to depend on the newer Apache2.

Regards,

-- 
Mehdi Dogguy


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to