- From: Andrea Campi <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Re: where is the better place for this code?
- Date: Fri, 18 Nov 2011 00:14:34 +0100
On Thu, Nov 17, 2011 at 6:27 PM, Daniel DeLeo
<
>
wrote:
>
>
>
On Wednesday, November 16, 2011 at 6:29 AM, Andrea Campi wrote:
>
> 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
Fair enough (I hadn't seen that class).
Then I'll rephrase: lib/chef/provider/service/freebsd.rb should be
updated to use FileEdit.
I will do it at some point—I agree search & replace is an
anti-pattern, but we have to rely on it.
The better option here would be to add support for /etc/rc.conf.d; we
could do that out of the box. Chef *is* opinionated after all ;)
Andrea
- [chef] Re: Re: where is the better place for this code?, (continued)
- [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.