seems like location => start overrides preserve_block somehow. Of course, it shouldn't. I guess, it's right time to file a bug repport about that.
2011/9/21 <[email protected]>: > 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 > [email protected] > https://cfengine.org/mailman/listinfo/help-cfengine > -- SY, Seva Gluschenko. _______________________________________________ Help-cfengine mailing list [email protected] https://cfengine.org/mailman/listinfo/help-cfengine
