The error says: "Redefinition of body start for location". So clearly you must have a "body location start {..." somewhere else in your promises! You can only have ONE body of a type with a certain name, and cfengine_stdlib.cf is defining the second one in your collection of promises...
-Dan On Jun 25, 2010, at 10:19 AM, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Problems using the cfengine_stdlib > Author: erikf154 > Link to topic: https://cfengine.com/forum/read.php?3,17606,17606#msg-17606 > > When I include the cfengine_stdlib.cf I get a lot of errors: > > cf3:/var/cfengine/inputs/cfengine_stdlib.cf:374,1:Redefinition of body start > for location is a broken promise, near token '{' > cf3:/var/cfengine/inputs/cfengine_stdlib.cf:457,1: Redefinition of body > immediate for action is a broken promise, near token '{' > cf3:/var/cfengine/inputs/cfengine_stdlib.cf:745,1: Redefinition of body > recurse for depth_search is a broken promise, near token '{' > cf3:/var/cfengine/inputs/cfengine_stdlib.cf:766,1: Redefinition of body tidy > for delete is a broken promise, near token '{' > cf3:/var/cfengine/inputs/cfengine_stdlib.cf:808,1: Redefinition of body > days_old for file_select is a broken promise, near token '{' > Summarizing promises as text to /var/cfengine/inputs/promises.cf.txt > Summarizing promises as html to /var/cfengine/inputs/promises.cf.html > cf-agent was not able to get confirmation of promises from cf-promises, so > going to failsafe > > > Part of my promises.cf: > > body common control > > { > bundlesequence => { > "update", > "garbage_collection", > "main", > "cfengine" }; > > inputs => { > "update.cf", > "site.cf", > "library.cf", > "cfengine_stdlib.cf" }; > } > > > I though it was just to include this file so that it's bundles would be > available everywhere? > > _______________________________________________ > 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