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

We observe the following behavior:

Commit bundle and file template changes to policymaster.

On first run, agents will 
-- load existing on-disk bundles into memory, 
-- copy new bundles down, 
-- copy updated template down, 
-- populate template without details from bundles

On second run, agents will 
-- load existing on-disk bundles, which contain the above bundle change corpus, 
into memory, 
-- populate template with details from bundles

How can this be avoided?

We didnt care too much about this in our prior use of cf3.  However we are 
moving more of our cf3 usage to paramaterized usebundle().  In cf2 we find that 
we never had an issue with a changeset not converging as expected in one run 
regardless of what was changed (inputs, etc).  Updated inputs were realized 
during the initial agent run.

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

Reply via email to