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
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine