[augeas-devel] Fwd: file not being parsed?

Tim Stoop tim.stoop at gmail.com
Fri Feb 19 08:49:28 UTC 2010


Stupid gmail not replying-to-all :(


---------- Forwarded message ----------
From: Tim Stoop <tim.stoop at gmail.com>
Date: Fri, Feb 19, 2010 at 9:49 AM
Subject: Re: [augeas-devel] file not being parsed?
To: David Lutterkort <lutter at redhat.com>


Hi David,

On Thu, Feb 18, 2010 at 10:55 PM, David Lutterkort <lutter at redhat.com> wrote:
> If Augeas runs into any error loading the file, including when it's not
> able to parse it, it won't show up in the tree. To make sure, type
> 'print /augeas//error' in augtool (with the double slash)

Nothing there about my lens :S

> For lens development, it's usually much easier to use augparse,
> especially since you need to write tests anyway if you want to submit
> the lens here ;)

Yeah well, but the nagios.cfg is such an easy file to parse... It's
just an ini file and I wanted to access it quickly. Is there a way to
tell augparse it should apply lens X on file Y and give me the errors?

--
Gegroet,
Tim



-- 
Gegroet,
Tim




More information about the augeas-devel mailing list