Forum: CFEngine Help Subject: Re: "real" templates Author: mark Link to topic: https://cfengine.com/forum/read.php?3,23837,23931#msg-23931
I apologise for coming very late to this discussion. I have made some examples of templating in the Special Topics Guide on file editing. Please read this section http://www.cfengine.com/manuals/st-editing.html#File-templates The examples show how to do inline and external file templates with/without loops. A useful trick is to use join() to pre-form a scalar from a list for easy insertion. hope this helps Mark _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine