With 3.2.0, the following:

=====================================================================
    delete_lines:
        ".*";

    insert_lines:
        "#############################################################
### This file is configured by CFEngine.
### Manually editing the file might lead CFEngine
### to change back its content
#############################################################
server  127.127.1.0
fudge   127.127.1.0 stratum 10"
        insert_type => "preserve_block",
        location => start; # from cfengine_stdlib
=====================================================================

results in:

======================================================================
fudge   127.127.1.0 stratum 10
server  127.127.1.0
#############################################################
### to change back its content
### Manually editing the file might lead CFEngine
### This file is configured by CFEngine.
#############################################################
=====================================================================

Why?


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to