help-cfengine
[Top][All Lists]
Advanced

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

Re: parse errors - can't find reason


From: Edward Pena
Subject: Re: parse errors - can't find reason
Date: Tue, 10 Sep 2002 06:12:43 -0700 (PDT)

I thought it was probably the lists creating an inner loop within the editlist
call to ForEachLineIn...EndLoop construct, and I was correct.  The problem is,
how does one go about calling a list for any editfiles construct?

Adrian Phillips wrote:

> 
> Edward Pena writes:
> 
>     Edward> Any ideas as to why the following continually puts a
>     Edward> "parse error" return in the output?  I have tried
using
>     Edward> single file names instead of the loops (namelists), taken
>     Edward> out the editfiles for inetd.conf, etc. etc., and nothing
>     Edward> works.  This is the only script in execution for
>     Edward> simplicities sake, as it should be well known that an
>     Edward> error in any given script (config file) can return as an
>     Edward> erroneous error in a different config file.  -ed
> 
>     Edward> control:
> 
>     Edward> access = ( root ) split = ( " " ) any_namelist = (
"finger
>     Edward> login shell exec uucp printer time daytime echo chargen
>     Edward> dtspc" ) sun_namelist = ( "comsat systat netstat
discard
>     Edward> kerbd ruserd sprayd walld rstatd rexd ufsd" )
> 
> Whats the error message and where is it pointing to ?
> 
> Do lists work in this context ? From the tutorial :-
> 
>    * in the `to' field of a multiple link action,
> 
>    * in the `from' field of a copy action,
> 
>    * in the directory field of a tidy action,
> 
>    * in the directory field of the files action,
> 
>    * in the ignore action,
> 
>    * in a shell command.
> 
> Sincerely,
> 
> Adrian Phillips
> 
> -- 
> Your mouse has moved.
> Windows NT must be restarted for the change to take effect.
> Reboot now?  [OK]

________________________________________________
PeoplePC:  It's for people. And it's just smart. 
http://www.peoplepc.com 




reply via email to

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