help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetLine not set when calling AppendIfNoLineMatching


From: Mark . Burgess
Subject: Re: SetLine not set when calling AppendIfNoLineMatching
Date: Fri, 10 Oct 2003 10:13:22 +0200 (MEST)

Thanks. This is a typographical error. Here is a new editfiles.c file that 
fixes the problem.
M


On  9 Oct, Hans Deragon wrote:
> Greetings.
> 
> 
>    I have the following cf script (called by other cf scripts using import):
> 
> --->
> control:
> 
>      actionsequence =
>      (
>        editfiles.services
>      )
> 
> 
> editfiles:
> 
>    services::
> 
>      { /etc/services
> 
>        AppendIfNoLineMatching "cfengine +5308/tcp.*"
>      }
> <---
> 
>    It causes cfagent to indefinitely print the following error message:
> 
> SetLine not set when calling AppendIfNoLineMatching cfengine +5308/tcp.*
> 
>    Obviously, I have omitted the SetLine command.  Still, it is not a reason 
> for 
> cfagent to turn the knife in the wound by repeating this error message 
> indefinitly. ;)  It would be nice if the while() (line 427) statement 
> encompassing the code in editfiles.c could terminate.  I am using cfengine 
> version 2.0.7p3.
> 
> 
> Best regards,
> Hans Deragon
> --
> Consultant en informatique/Software Consultant
> Deragon Informatique inc.         Open source:
> http://www.deragon.biz            http://swtmvcwrapper.sourceforge.net
> mailto://hans@deragon.biz         http://autopoweroff.sourceforge.net
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: edittools.c
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]