On 22/03/13 23:22, Gonzalo Servat wrote:
> On Sat, Mar 23, 2013 at 9:47 AM, Gonzalo Servat <[email protected]
> <mailto:[email protected]>> wrote:
> 
>     On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal <[email protected]
>     <mailto:[email protected]>> wrote:
> 
>         Perhaps ideally, lenses could be bundled with the software
>         responsible
>         for the config file formats themselves so they're more easily
>         kept in
>         sync.  There are a small number of projects that do this (libvirt,
>         libguestfs, corosync), but it needs a supportive upstream.
> 
> 
>     Hi Dominic,
> 
>     Thanks for replying. I haven't got my head around the lens syntax
>     just yet but I will have a go at it and see if I can submit a patch.
> 
>     I think your last paragraph is spot on -- the lenses should be
>     bundled with the software responsible for the config file formats.
>     Perhaps augeas should look in /etc/augeas.d/ or something for the
>     lenses and packages can include a lens file that goes in that
>     directory. It makes sense, as a change in a config file has to
>     include a review of the lens before releasing a new package.

Yes, Augeas supports two directories it simply reads from to find all
lenses.  These are typically /usr/share/augeas/lenses and
/usr/share/augeas/lenses/dist.  Usually when software shipping lenses
itself is packaged, they get installed to the former directory while
Augeas' own go in dist/.

> I had a go at modifying the lens and got it working to accept any
> option. For anyone that runs into the same problem, I've opened a ticket
> and submitted a patch:
> 
>     https://fedorahosted.org/augeas/ticket/334 

Thank you very much, I'll review it when I get the opportunity.

-- 
Dominic Cleal
Red Hat Engineering

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to