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 Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine