Forum: CFEngine Help Subject: Re: Using Variables in insert lines Author: zzamboni Link to topic: https://cfengine.com/forum/read.php?3,24417,24533#msg-24533
sauer Wrote: > Wouldn't that just be the "append_if_no_lines" > bundle, called with a "lines" slist generated by > something like this: Yes and no - it would work, but you wouldn't be able to change values - this method would just append a new line with the new value, leaving the old one untouched (unless you emptied the file before editing each time, and regenerated it from scratch). _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine