On 08/30/2011 12:05 PM, no-re...@cfengine.com wrote: > Forum: CFEngine Help > Subject: Re: CFEngine Help: Re: Understanding CF's log > Author: marc > Link to topic: https://cfengine.com/forum/read.php?3,23272,23278#msg-23278 > > I have different "failsafe" and "update" promises. Me "failsafe" is a self > containing promise that can be run, no matter which files are available. > Where my "update" promise is depending on my global config for some > variables. > > Much like yours Nick. > > > I thing my question is, why would I call "failsafe" before I call > "promise.cf". Shoulded "failsafe" only be called if my cf-agent runs into > errors?
I think the reason to call failsafe separately is to decrease the chances that an error in the policy prevent the policy update from happening. If you only run cf-agent normally a syntax error in your promises.cf may prevent the policy from updating without manual intervention. -- Nick Anderson <n...@cmdln.org> _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine