Actually, I get syntax errors as well using 3.0.3 and whatever version
of stdlib is posted right now:

   cf3:/var/cfengine/inputs/cfengine_stdlib.cf:1075,28: Constraint lvalue 
track_growing_file is not allowed in 'match_value' constraint body, near token 
'true"'

This corresponds to the body:

####################################################
## monitor bodyparts
####################################################

body match_value scan_log(line)
{
select_line_matching => "$(line)";
track_growing_file => "true";
}



Also, would it be possible to include a version or revision tag in the
cfengine_stdlib.cf file that is posted?  That may help everyone track
what version of this file has bugs and fixes.




On Thu, Feb 18, 2010 at 06:13:32AM -0500, Mark Burgess wrote:
>
>We created it for use with 3.0.3, but you can try deleting stuff that gives 
>you errors
>until it compiles.
>
>Mark Nelson wrote:
>> Hello
>> 
>> Do you have a version available for 3.0.2 as I am not in the positiobn to
>> upgrade at this point in time.
>> 
>> Mark.
>> 
>>> You'll need to say what the syntax errors were. More likely it is your
>>> version of cfengine
>>> that is old, if we have added things that are in 3.0.3
>>>
>>> Mark Nelson wrote:
>>>> Hello
>>>>
>>>> I've downloaded the standard library on cfengine.com, however the
>>>> appears
>>>> to be several syntax errors in it when ran against cfengine 3.0.2.  Is
>>>> there an updated version of the library available?
>>>>
>>>>
>>>> Thanks
>>>>
>>>> Mark.
>>>>
>>>> _______________________________________________
>>>> Help-cfengine mailing list
>>>> Help-cfengine@cfengine.org
>>>> https://cfengine.org/mailman/listinfo/help-cfengine
>>> --
>>> Mark Burgess
>>>
>>> -------------------------------------------------
>>> Professor of Network and System Administration
>>> Oslo University College, Norway
>>>
>>> Personal Web: http://www.iu.hio.no/~mark
>>> Office Telf : +47 22453272
>>> -------------------------------------------------
>>>
>> 
>> 
>> 
>
>-- 
>Mark Burgess
>
>-------------------------------------------------
>Professor of Network and System Administration
>Oslo University College, Norway
>
>Personal Web: http://www.iu.hio.no/~mark
>Office Telf : +47 22453272
>-------------------------------------------------
>_______________________________________________
>Help-cfengine mailing list
>Help-cfengine@cfengine.org
>https://cfengine.org/mailman/listinfo/help-cfengine

-- 
Jesse Becker
NHGRI Linux support (Digicon Contractor)
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to