Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-28 Thread Dominic Cleal
On 22/03/13 23:22, Gonzalo Servat wrote: On Sat, Mar 23, 2013 at 9:47 AM, Gonzalo Servat gser...@gmail.com mailto:gser...@gmail.com wrote: On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal dcl...@redhat.com mailto:dcl...@redhat.com wrote: Perhaps ideally, lenses could be

Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-27 Thread Nikola Petrov
I think that this is mostly because of lens that are written this way. We shouldn't blame them that this is poorly written in my opinion. It is just more restrictive. Lens that I have written accept a regular expression as an identifier instead of listing them. Best, Nikola On Fri, Mar 22, 2013

Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-22 Thread Dominic Cleal
On 22/03/13 04:02, Gonzalo Servat wrote: Hi All, I just ran into a frustrating Augeas problem, which I thought I'd share with you all. We run a cron every morning to fetch the latest RPMs (for the packages we're interested in) from various places such as rpmforge, EPEL, etc. This

Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-22 Thread Gonzalo Servat
On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal dcl...@redhat.com 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,

Re: [Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-22 Thread Gonzalo Servat
On Sat, Mar 23, 2013 at 9:47 AM, Gonzalo Servat gser...@gmail.com wrote: On Fri, Mar 22, 2013 at 9:11 PM, Dominic Cleal dcl...@redhat.com 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.

[Puppet Users] Augeas lens dependency on valid config file parsing

2013-03-21 Thread Gonzalo Servat
Hi All, I just ran into a frustrating Augeas problem, which I thought I'd share with you all. We run a cron every morning to fetch the latest RPMs (for the packages we're interested in) from various places such as rpmforge, EPEL, etc. This morning I tried to build a VM and it failed. What