As far as I know, library.cf is no longer part of the Cfengine distribution.
Th only file that you should have is cfengine_stdlib.cf - if there are any
conflicts, you should just change your private version of library.cf.
-Dan
On Oct 13, 2010, at 7:09 PM, Aleksey Tsalolikhin wrote:
> Hi. This is still broken in 3.1.0b2. Instructions to replicate the problem:
>
> 1. install from the cfengine 3.1.0b2 tarball
>
> 2. cp -rp /usr/local/share/doc/cfengine/inputs/ /var/cfengine/inputs
>
> 3. cp /usr/local/share/doc/cfengine/cfengine_stdlib.cf /var/cfengine/inputs
>
> 4. edit /var/cfengine/inputs/promises.cf to append the
> cfengine_stdlib.cf promise library
>
> 5. Run cf-agent:
>
> # cf-agent
> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:383,1: Redefinition of
> body start for location is a broken promise, near token '{'
> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:466,1: Redefinition of
> body immediate for action is a broken promise, near token '{'
> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:785,1: Redefinition of
> body recurse for depth_search is a broken promise, near token '{'
> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:804,1: Redefinition of
> body tidy for delete is a broken promise, near token '{'
> cf3:/var/cfengine/inputs/cfengine_stdlib.cf:846,1: Redefinition of
> body days_old for file_select is a broken promise, near token '{'
> cf-agent was not able to get confirmation of promises from
> cf-promises, so going to failsafe
> #
>
> Here is my edit to promises.cf:
>
>
> # rcsdiff promises.cf
> ===================================================================
> RCS file: RCS/promises.cf,v
> retrieving revision 1.1
> diff -r1.1 promises.cf
> 42c42,43
> < "library.cf"
> ---
>> "library.cf",
>> "cfengine_stdlib.cf"
> #
>
> Could you please fix this in 3.1.0?
>
> Best,
> -at
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine