Forum: CFEngine Help Subject: Re: About "new" templates correct usage or limitations Author: th Link to topic: https://cfengine.com/forum/read.php?3,26723,26776#msg-26776
mark Wrote: ------------------------------------------------------- >The idea of the begin end blocks is to allow iteration over > sections. I think I get it. So you're able to create slightly different (different variable values) sections by iteration of such a template. So creating a BEGIN/END block without embedded variables would make no sense, right ? But still how do you create the whole file (i.e. the rest of the file) holding these sections ? And how do you repair the whole file being accidentally deleted ? I think I misunderstood the template concept as a whole file template instead of what seems to be multiple variable values with a common minimal context... Thanks -- TH _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine