Re: CFEngine Help: Proper way to manage large unique files

2012-05-26 Thread Aleksey Tsalolikhin
What's the outlook on edit_xml, please? On Wed, May 23, 2012 at 7:56 AM, Mark Burgess wrote: > > Yes, I would not recommend Augeas, edit_lines is the thing. > > On 05/23/2012 04:52 PM, Nick Anderson wrote: >> On 05/23/2012 09:44 AM, Ted Zlatanov wrote: >>> You may want to copy to an intermediate

Re: CFEngine Help: Proper way to manage large unique files

2012-05-23 Thread Mark Burgess
Yes, I would not recommend Augeas, edit_lines is the thing. On 05/23/2012 04:52 PM, Nick Anderson wrote: > 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 >> d

Re: CFEngine Help: Proper way to manage large unique files

2012-05-23 Thread Ted Zlatanov
On Wed, 23 May 2012 09:52:13 -0500 Nick Anderson 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

Re: CFEngine Help: Proper way to manage large unique files

2012-05-23 Thread Nick Anderson
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 l

Re: CFEngine Help: Proper way to manage large unique files

2012-05-23 Thread Ted Zlatanov
On Wed, 23 May 2012 16:25:05 +0200 (CEST) daveseff wrote: n> I am distributing a large XML config file to a group of servers for an n> application. some parameters in the file need to be unique to the n> machine it's on. Because of it's size I would normally use a copy_from n> promise from a mast

CFEngine Help: Proper way to manage large unique files

2012-05-23 Thread no-reply
Forum: CFEngine Help Subject: Proper way to manage large unique files Author: daveseff Link to topic: https://cfengine.com/forum/read.php?3,26033,26033#msg-26033 I am distributing a large XML config file to a group of servers for an application. some parameters in the file need to be unique to th