Forum: CFEngine Help
Subject: Re: filecopy, transform with grep.
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,22985,23010#msg-23010

The transformer and grep combo is not convergent.  The grep command is applied 
and the file is rewritten every time whether it is required or not.  Cfengine 
is about making promises that are kept such that if a promise is already kept 
then do nothing.

I agree that promises that edit files can be complicated but they are cheaper 
than the proposed transformer.  The edit promise will look at the file, 
determine if an edit is required and only take action if required. This is one 
of the main advantages of Cfengine of traditional scripting.

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

Reply via email to