- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: where is the better place for this code?
- Date: Thu, 17 Nov 2011 09:27:14 -0800
On Wednesday, November 16, 2011 at 6:29 AM, Andrea Campi wrote:
>
Would be useful indeed.
>
We use FreeBSD a lot, and since we started using Chef I moved away
>
from a monolithic /etc/rc.conf to one file per service in
>
/etc/rc.conf.d
>
This somewhat reduces our need for in-place editing of files, but here
>
and there the requirements comes out again.
>
>
Given it's not FreeBSD-specific, I keep hoping someone will beat me to
>
it—otherwise at some point I'll sit down and look at it.
>
Maybe on the flight to the Chef Summit :)
>
>
Andrea
Chef already has code for this:
https://github.com/opscode/chef/blob/master/chef/lib/chef/util/file_edit.rb
That said, you really should do whatever you can to avoid using
search/replace.
--
Dan DeLeo
- [chef] where is the better place for this code?, Juan Jesús Ojeda Croissier, 11/15/2011
- [chef] Re: where is the better place for this code?, hani elabed, 11/15/2011
- [chef] Re: where is the better place for this code?, Andrea Campi, 11/16/2011
- [chef] Re: Re: where is the better place for this code?, Juan Jesús Ojeda Croissier, 11/16/2011
- [chef] Re: Re: Re: where is the better place for this code?, Andrea Campi, 11/16/2011
- [chef] Re: Re: Re: Re: where is the better place for this code?, Juan Jesús Ojeda Croissier, 11/16/2011
- [chef] Re: Re: Re: Re: Re: where is the better place for this code?, Andrea Campi, 11/16/2011
- [chef] Re: Re: Re: Re: Re: Re: where is the better place for this code?, Daniel DeLeo, 11/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?, Juan Jesús Ojeda Croissier, 11/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?, John E. Vincent (lusis), 11/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?, Juan Jesús Ojeda Croissier, 11/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?, Matthew Moretti, 11/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?, Juan Jesús Ojeda Croissier, 11/17/2011
- [chef] Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?, Andrea Campi, 11/17/2011
Archive powered by MHonArc 2.6.16.