Forum: Cfengine Help Subject: Re: is it possible to combine arrays and lists? Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,16807,16818#msg-16818
I don't have your hours of head banging practice so bear with me if I suggest anything ignorant. Have you though about using a more traditional template approach? Perhaps you could assign whole blocks of text as scalars based on classes, copy the master file and expand the strings. I'm not certain that it will turn out better than what you have but it might be worth a try. http://www.cfengine.org/manuals/cf3-reference.html#expand_005fscalars-in-insert_005flines http://watson-wilson.ca/blog/cfcookbook.html#SECTION000160000000000000000 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine