[chef] Re: Re: Re: Re: edit a prop file using chef


Chronological Thread 
  • From: Eric Jain < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: edit a prop file using chef
  • Date: Thu, 14 Jun 2012 11:26:32 -0700

On Thu, Jun 14, 2012 at 11:16 AM, Juanje Ojeda Croissier
< >
 wrote:
> http://rubydoc.info/gems/chef/0.10.10/Chef/Util/FileEdit#insert_line_if_no_match-instance_method
>
> insert_line_if_no_match(regex, newline)
>
> Well, it checks line by line, not a few lines, though.

Neat, somehow I had overlooked this method...



Archive powered by MHonArc 2.6.16.

§