Thanks, Nakarin, I really appreciate your reply, but I don't like to
guess - let's see
what the Cfengine developers say about what is library.cf and
cfengine_stdlib.cf?
How to reconcile this conflict?

Wouldn't anybody that downloads and starts to use cfengine run into this issue?

Or am I doing something wrong to bootstrap my configuration?

Best,
-at

On Wed, Sep 15, 2010 at 5:31 PM, Nakarin Phooripoom
<mynameisje...@gmail.com> wrote:
> I guess, library.cf might be an earlier version of cfengine_stdlib.cf. From
> the error messages, you might want to rename/delete the duplicate bodies in
> library.cf
>
> Cheers,
> --Nakarin
>
> On Sep 16, 2010, at 2:12 AM, Aleksey Tsalolikhin wrote:
>
>> Hi.  So I've installed 3.0.5p1, and copied the following to
>> /var/cfengine/inputs:
>>
>>
>> /usr/local/share/doc/cfengine/inputs/*cf
>> /usr/local/share/doc/cfengine/cfengine_stdlib.cf
>>
>> Now I run cf-agent and get errors:
>>
>> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:304,1: Redefinition of
>> body start for location is a broken promise, near token '{'
>> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:371,1: Redefinition of
>> body immediate for action is a broken promise, near token '{'
>> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:603,1: Redefinition of
>> body recurse for depth_search is a broken promise, near token '{'
>> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:630,1: Redefinition of
>> body tidy for delete is a broken promise, near token '{'
>> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:672,1: Redefinition of
>> body days_old for file_select is a broken promise, near token '{'
>>
>> So what is library.cf?  I know cfengine_stdlib.cfg is the COPBL.
>>
>> Here is what I actually did:
>>
>> 1.  cp /usr/local/share/doc/cfengine/inputs/*cf  /var/cfengine/inputs
>> 2. run cf-agent and confirm it works fine, it even finds my cfengine2
>> files and runs cfagent.  Great!!
>> 3. Now I want to add some cfengine 3 promises, so I include
>> cfengine_stdlib.cf and this is where things break.
>>
>> Please advise.
>>
>> Thanks,
>> -at
>> _______________________________________________
>> Help-cfengine mailing list
>> Help-cfengine@cfengine.org
>> https://cfengine.org/mailman/listinfo/help-cfengine
>
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to