[Puppet Users] Re: replacing a line in a file

2009-01-15 Thread paul matthews
Here's what I use which has been pulled from various answers in the forum. Bascially there's a function for deleting a line, appending a line if not already there and near the bottom one for editing a line. So the way this works is that this file gets run as part of the base_class to set up the de

[Puppet Users] Re: replacing a line in a file

2009-01-14 Thread Robin Lee Powell
On Wed, Jan 14, 2009 at 09:38:42PM -0800, chakkerz wrote: > > which deals with the subject of replacing lines in a file, You might want to look at Augeas. It's pretty neat, and the latest puppet version has it built in. -Robin -- They say: "The first AIs will be built by the military as w