[augeas-devel] [Augeas] #163: nrpe.aug does not compile
Augeas
trac at fedorahosted.org
Tue Dec 7 16:06:45 UTC 2010
#163: nrpe.aug does not compile
---------------------+------------------------------------------------------
Reporter: mat | Owner: mfo
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: devel
Resolution: | Keywords:
---------------------+------------------------------------------------------
Comment (by mfo):
mat,
As I understand by reading your patch, you suggest a line should be
considered a comment even if the "#" isn't the first character of this
line ?
I actually based this lens on what I found nrpe's source code, the part
where it parses nrpe.cfg. The only mention to "#" I found was this:
{{{
/* skip comments and blank lines */
if(input_line[0]=='#')
continue;
if(input_line[0]=='\x0')
continue;
if(input_line[0]=='\n')
continue;
}}}
Could you please provide more details on the error you get ? Maybe also
the line in your nrpe.cfg which is causing the error ? Thanks !
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/163#comment:2>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list