- From: Dimitri Aivaliotis <
>
- To: Scott Sanders <
>
- Cc: "
" <
>
- Subject: [chef-dev] Re: Re: Re: Re: Re: Re: Re: FreeBSD Omnibus Support
- Date: Wed, 3 Apr 2013 20:05:39 +0200
Hi Scott,
On Wed, Apr 3, 2013 at 5:09 PM, Scott Sanders
<
>
wrote:
>
>
Excellent patch, I'm definitely borrowing that after we update our packaging
>
server! We do something very similar to enable package management through
>
portmaster. The monkey patches live in our freebsd cookbook's libraries
>
directory so the core chef code doesn't need modification. I expect this is
>
a common pattern given the variety of package managers for FreeBSD.
It's not my patch, but I rather like it as well. I think the original
author also uses it as a library file in a cookbook.
>
FWIW, we also have monkey patches as well that switch service commands over
>
to using onestart, onestop, etc instead of start, stop so that commands
>
don't fail before the service is enabled in rc.conf.
That's not a bad idea. The one* variants should probably be the
default action for :start and :stop, whereas editing rc.conf and using
"start/stop" should be the action for :enable and :disable. Any
interest in getting that change into Chef itself?
- Dimitri
Archive powered by MHonArc 2.6.16.