Re: Problems with edit_line and edit_defaults=>empty

2011-02-23 Thread Adalbert Michelic
* On Wed, 23 Feb 2011 at 8:33 -0500, Daniel V. Klein wrote: > The promises look good, and AFAICT you should always get 2 lines, but I'd > suggest the following change for you: > > vars: > any:: > "dns" string => "192.168.1.20"; > machineX:: > "search" string => "domain2";

Re: Cfengine Help: Re: Problems with edit line and edit defaults=>empty

2011-02-23 Thread Adalbert Michelic
* On Wed, 23 Feb 2011 at 15:28 +0100, no-re...@cfengine.com wrote: > Which version are you running? Once the file is convergent, cfengine > shouldn't empty the file and reinsert lines ever again. (unless someone > change a bit in the file) Currently it's 3.1.4 (mostly on Ubuntu 8.04, packages fr

Problems with edit_line and edit_defaults=>empty

2011-02-23 Thread Adalbert Michelic
I have a problem with some constellations of edit_line bundles together with edit_defaults=>empty. I have included the simpler bundle of the two creating problems below -- my expectation would be to get an /etc/resolv.conf with two lines -- all machines expect machineX should have domain1 as search