Forum: CFEngine Help
Subject: Re: insert_lines content is in reverse order?
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,23564,23572#msg-23572

I was working from memory on that last post, so I got it wrong. The correct 
attribute is empty_file_before_editing and it goes in an edit_defaults body  
https://cfengine.com/manuals/cf3-reference.html#edit_005fdefaults-in-files

Something like this (from cfengine_stdlib.cf):

body edit_defaults empty
{
empty_file_before_editing => "true";
edit_backup => "false";
max_file_size => "300000";
}


_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to