On Wed, 23 May 2012 09:52:13 -0500 Nick Anderson <n...@cmdln.org> wrote: 

NA> On 05/23/2012 09:44 AM, Ted Zlatanov wrote:
>> You may want to copy to an intermediate file (1) and use Augeas or
>> edit_line on a second copy (2) which then gets copied into the final
>> destination (3).  That way the network copy is done only when necessary
>> into (1), while Augeas/edit_line runs locally on (2), and finally (3) is
>> updated only when changes bubble up.

NA> Did I miss that augeas was integrated with CFE? I have used it in the 
NA> past with puppet. Are we talking about using commands with augeas?

Just command-line.  It can be more convenient than edit_line depending
on the specific file format; XML is really hard to parse reliably, just
like HTML and all the other SGML spawns.

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

Reply via email to