Forum: CFEngine Help
Subject: Re: Explanation for 3x iteration in a bundle
Author: frans
Link to topic: https://cfengine.com/forum/read.php?3,24402,24406#msg-24406

I'm familiar with normal ordering and figured that cf-agent was sidestepping 
the vars: promise again as it had already evaluated it.   What would be helpful 
is to see a bundle where cf-agent does make changes to a system on its second 
or third traversal of a bundle based on class changes or the like made in the 
first execution. 

As it is I can't think of a way to copy files (via "files:") based on 
classification set by a command module (or some other later section) in a 
single bundle and a single execution of cf-agent.  As far as I know the command 
would need to write a token file somewhere that would be interpreted on the 
next execution of cf-agent.  If my systems are being brought to life 
autonomously, and if their splay time is largish, final convergence could be 
slow.  This may be a necessary limitation, I'm just curious how one might get 
something done in the second or third run.

Thanks as always for your ready replies.

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

Reply via email to