Forum: CFEngine Help Subject: Re: editfiles question Author: sgsax Link to topic: https://cfengine.com/forum/read.php?3,23396,23418#msg-23418
It's actually not required if you just want an exact match. From cfengine2 manual entry: AppendIfNoSuchLine quoted-string Add a line containing the quoted string to the end of the file if the file doesn't contain the exact line already. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine