Forum: CFEngine Help Subject: Re: "expand_scalars" in "copy_from"? Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,23643,23669#msg-23669
Mark, Many thanks for your reply. I don't quite understand it; it appears to talk about two different things. I can see that if the template file on the server is huge, and cfengine is checking every few minutes, then it would have to copy this file around every single time, and 99.99...% of the time, there will be no change. So I can see a potentially significant efficiency gain in that case. I'll buy that as a good argument concerning large files (without getting side-tracked here into what "large" means). But the next sentence in the same paragraph (which implies some sort of relationship) talks about convergence, as a principle, but as far as I read it, unrelated to size. It suggests that two explicit stages could be demonstrably convergent, but (by implication) a single "copy-and-edit" wouldn't necessarily be demonstrably convergent. (My use of language in cfengine-speak may be poor there.) If the separate copy and edit stages in an explicit two-stage process are convergent, then wouldn't a single "copy-and-edit" also be convergent with similar demonstrability? Or is there a fundamental difference in convergence between the two techniques? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine