[augeas-devel] augeas: master - Dnsmasq: process files in /etc/dnsmasq.d/*

David Lutterkort lutter at fedoraproject.org
Fri Jun 5 18:23:51 UTC 2009


Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=a22912ffdbefb7ca3b03b3530d445777804d3b02
Commit:        a22912ffdbefb7ca3b03b3530d445777804d3b02
Parent:        ce83a689553385d6f2ff30854844b25da0bcd6ed
Author:        David Lutterkort <lutter at redhat.com>
AuthorDate:    Fri Jun 5 11:02:53 2009 -0700
Committer:     David Lutterkort <lutter at redhat.com>
CommitterDate: Fri Jun 5 11:02:53 2009 -0700

Dnsmasq: process files in /etc/dnsmasq.d/*

Fixes bug #65 reported by abnormaliti
---
 lenses/dnsmasq.aug |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lenses/dnsmasq.aug b/lenses/dnsmasq.aug
index bf537b3..8167795 100644
--- a/lenses/dnsmasq.aug
+++ b/lenses/dnsmasq.aug
@@ -39,6 +39,9 @@ let entry      = [ key entry_re . (sep_eq . sto_to_eol)? . eol ]
 let lns = (comment|empty|entry) *
 
 let filter            = incl "/etc/dnsmasq.conf"
+                      . incl "/etc/dnsmasq.d/*"
+                      . excl "#*#"
+                      . excl ".*"
                       . Util.stdexcl
 
 let xfm                = transform lns filter




More information about the augeas-devel mailing list