Forum: CFEngine Help
Subject: Re: avoiding double-runs to converge when using template operations
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,27428,27464#msg-27464

Jessica,

The default executor line in CFEngine Community is this: 
https://github.com/cfengine/core/blob/master/masterfiles/controls/cf_execd.cf#L25

  exec_command => "$(sys.cf_twin) -f $(sys.workdir)/inputs/failsafe/failsafe.cf 
&& $(sys.cf_agent)";


Note that failsafe.cf is run using cf-twin 
https://cfengine.com/manuals/cf3-Reference#Variable-sys_002ecf_005ftwin, which 
is a copy of cf-agent. This allows failsafe.cf, if needed, to update the 
CFEngine binaries and libraries without breaking the currently-executing agent.

--Diego

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to