[augeas-devel] [PATCH] Add lens and test for dnsmasq.conf

Raphaël Pinson raphink at gmail.com
Thu Sep 4 19:53:37 UTC 2008


On Thu, Sep 4, 2008 at 8:30 PM, David Lutterkort <lutter at redhat.com> wrote:

> On Thu, 2008-09-04 at 12:44 +0200, Free Ekanayaka wrote:
> > # HG changeset patch
> > # User Free Ekanayaka <free at 64studio.com>
> > # Date 1220525059 -7200
> > # Node ID 6ce32e4097f9c1acb12387d066e2bb30e9d28c72
> > # Parent  77cf07dd59dc3e62c02549f677bd422344ba4268
> > Add lens and test for dnsmasq.conf
>
> ACK .. Committed, though over time I would hope that we decompose some
> of the options in a more finegrained manner, e.g. turn
>
>        server=/example.com/192.168.0.1
>
> into something like
>
>        { "server"
>           { "domain" = "example.com" }
>           { "address" = "192.168.0.1" } }
>
> or similar.
>


It might be useful to keep enriching util.aug (or other) with useful regexp
and lenses. For example, at some point, a generic URI lens might be very
useful, to map

proto://user:password@host:port/some/path/



Raphael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080904/c7f1f70a/attachment.htm>


More information about the augeas-devel mailing list