Forum: CFEngine Help Subject: Re: delete_lines and select region Author: nickanderson Link to topic: https://cfengine.com/forum/read.php?3,26551,26632#msg-26632
I could be wrong on this, but I will take a stab. I think what is meant by "atomic" is that edits are not done on the file in place. The file is copied into memory The edits are done in memory If the file has been repaired and needs changed then the file is written to yourfilename.cf-after-edit Then (by default) CFEngine will make a copy of the original file called yourfile.cf-before-edit Finally renames yourfilename.cf-after-edit to yourfilename. Since moves are atomic, the cf-engine editing process is atomic because thats ultimately how the file gets updated. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine