Re: [Puppet Users] removing matching line from file

2013-03-19 Thread 尹川
thank you for let me know there is a stdlib module,many thanks! On Wed, Mar 20, 2013 at 5:01 AM, Philip Brown wrote: > I've been using the stdlib::file_line resource happily for a bit now, but > then ran into a problem > > I have a class, which can be simplified as follows > > class prop(propva

[Puppet Users] removing matching line from file

2013-03-19 Thread Philip Brown
I've been using the stdlib::file_line resource happily for a bit now, but then ran into a problem I have a class, which can be simplified as follows class prop(propval) { file_line {conffile: line=>"PROPERTY=propval" } } However, I'm attempting to plan for the future, and it sounds ra