[augeas-devel] [PATCH 1/1] pg_hba: added debian systems path to filter - fixes #154.

Marc Fournier marc.fournier at camptocamp.com
Sun Nov 14 21:24:37 UTC 2010


Signed-off-by: Marc Fournier <marc.fournier at camptocamp.com>
---
 lenses/pg_hba.aug |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/lenses/pg_hba.aug b/lenses/pg_hba.aug
index fdd781b..d125dce 100644
--- a/lenses/pg_hba.aug
+++ b/lenses/pg_hba.aug
@@ -1,6 +1,6 @@
 (*
 Module: Pg_Hba
-  Parses /var/lib/pgsql/data/pg_hba.conf
+  Parses PostgreSQL's pg_hba.conf
 
 Author: Aurelien Bompard <aurelien at bompard.org>
 
@@ -12,7 +12,7 @@ About: License
   This file is licensed under the GPL.
 
 About: Configuration files
-  This lens applies to /var/lib/pgsql/data/pg_hba.conf. See <filter>.
+  This lens applies to pg_hba.conf. See <filter> for exact locations.
 *)
 
 
@@ -65,7 +65,8 @@ module Pg_Hba =
 
     let record = [ seq "entries" . (record_local | record_remote) . eol ]
 
-    let filter = (incl "/var/lib/pgsql/data/pg_hba.conf")
+    let filter = (incl "/var/lib/pgsql/data/pg_hba.conf" .
+                  incl "/etc/postgresql/*/*/pg_hba.conf" )
 
     let lns = ( record | Util.comment | Util.empty ) *
 
-- 
1.7.2.3




More information about the augeas-devel mailing list