Forum: Cfengine Help Subject: Re: Strange behaviour with insert_lines Author: babudro Link to topic: https://cfengine.com/forum/read.php?3,18780,18792#msg-18792
Yes, agreed, I understand that, and this is what I thought I was doing, but as I wrote above when I empty the file first I thought it would write a new one, then compare the new to old, and only replace if it changed. Indeed, if I do not use preserve_block this appears to happen, and if that assumption is correct then my confusion lies in whatever feature(s) preserve_block offers me. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine