Dear Seva,

  library.cf came from cfengine 3.0.5p1 package (RPM):

  Still looking for an answer about what is library.cf, please...

  Here is what I did in trying to get started with 3.0.5p1 package:

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:


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 '{'


It looks like  a conflict between library.cf and cfengine_stdlib.cf, no?

Truly,
Aleksey

On Wed, Sep 15, 2010 at 11:08 PM, Seva Gluschenko
<seva.glusche...@gmail.com> wrote:
> Before calling for developer's attention, I would suggest tryin' to
> remember where that library.cf came into your setup. I've started
> evaluating Cfengine since 3.0.4p2 and it hadn't library.cf at that
> moment already. Perhaps, you or someone in your company made that
> local library.cf and forgot about it?
>
> For example, I have library.cf in my setup, but that's because I
> didn't use cfengine_stdlib.cf at whole, I'd just copied certain bodies
> and bundles from there.
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to