Re: editfile question

2005-03-03 Thread Sean Atkinson
In case anybody is interested, I've managed to use cfengine's editfiles options to conditionally add support for vnc.so to the XF86Config file: editfiles: { /etc/X11/XF86Config-4 Backup "single" BeginGroupIfNoLineMatching ".*Load[ ]+\"vnc\".*" LocateLineMatching "Section[ ]+\"Mo

Re: editfile question

2005-02-28 Thread Tim Nelson
On Mon, 28 Feb 2005, Sean Atkinson wrote: On Sat, 2005-02-26 at 11:49 +0100, Sven Mueller wrote: John Borwick wrote on 25/02/2005 21:37: Sean Atkinson wrote: In my experience, for small "stateless" files like /etc/hosts, you can get away with EditFiles statements. For larger files, I would just co

Re: editfile question

2005-02-28 Thread Sean Atkinson
On Sat, 2005-02-26 at 11:49 +0100, Sven Mueller wrote: > John Borwick wrote on 25/02/2005 21:37: > > Sean Atkinson wrote: > > In my experience, for small "stateless" files like /etc/hosts, you can > > get away with EditFiles statements. For larger files, I would just copy > > them from your cfen

Re: editfile question

2005-02-26 Thread Sven Mueller
John Borwick wrote on 25/02/2005 21:37: Sean Atkinson wrote: In my experience, for small "stateless" files like /etc/hosts, you can get away with EditFiles statements. For larger files, I would just copy them from your cfengine server. Other ways are to a) copy a template from the server, edi

Re: editfile question

2005-02-25 Thread John Borwick
Sean Atkinson wrote: Hi, Recently I've been getting to grips with cfengine, hoping to use it to manage all the configuration details for large Linux desktop deployments. As an example to understand its use, I want to apply the following diff to the X server's configuration file to add support for

editfile question

2005-02-25 Thread Sean Atkinson
Hi, Recently I've been getting to grips with cfengine, hoping to use it to manage all the configuration details for large Linux desktop deployments. As an example to understand its use, I want to apply the following diff to the X server's configuration file to add support for remote access with V