On 08/30/2011 05:57 AM, Bas van der Vlies wrote:
>>
>> Is it best practice to run cf-agent from the executor like this:
>>
>> exec_command =>  "$(sys.workdir)/bin/cf-agent -f failsafe.cf&&  
>> $(sys.workdir)/bin/cf-agent";


Thats what I do. My failsafe is self contained. It has all body parts
and bundles that it needs to complete. That way edits to other files
wont hamper my ability to update the policy on the node. If your
failsafe requires other files as a dependency edits to the other files
could cause your policy update to break. To that end I don't think your
failsafe or any dependent files (if any) should change very often at all
once you get going.

-- 
Nick Anderson <n...@cmdln.org>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to