Forum: Cfengine Help Subject: Re: Strange behaviour with insert_lines Author: mark Link to topic: https://cfengine.com/forum/read.php?3,18780,18789#msg-18789
Don't make it harder than it needs to be. Unless you need to preserve something that is already there, just use a complete template for the file, empty it and replace the whole thing. Insertion, deletion etc are used when there is more than one person/source managing the content of the file. e.g. if rpm is giving you 90% and you want to make a small edit. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine