Forum: CFEngine Help Subject: Re: Explanation for 3x iteration in a bundle Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,24402,24404#msg-24404
Check the reference guide on normal ordering and locking. Vars is done first so redvar is not defined during first run. Files follows and defines classes red, green and blue. Reports is last. Since $(redvar) is not defined during the first run the report is how you see it. During the following runs a promise is not evaluated again if it was promised already. Thus since the reports promise was already verified it will not do so again during that run. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine