- From: Daniel DeLeo <
- Cc: Brad Knowles <
- Subject: [chef] Re: PHP cookbook questions?
- Date: Tue, 25 Oct 2011 09:09:38 -0700
On Tuesday, October 25, 2011 at 8:56 AM, Brad Knowles wrote:
> In the Opscode PHP cookbook at
> <https://github.com/opscode/cookbooks/tree/master/php>, there is a
> four-line recipe for installing the php-mongo PECL (well, one comment line
> and three Ruby lines). But I'm not quite clear on what would be the most
> "Chefly" way to implement this. Should I modify my version of the PHP
> cookbook to include these lines, or should I create a separate cookbook &
> recipe for this stuff?
> Brad Knowles
> SAGE Level IV, Chef Level 0.0.1
I don't think there's an accepted "best practice" here, so I'd advise
following a YAGNI strategy here; that is, do the simplest thing that solves
your problem for now without screwing yourself into a lot of work in the
future. If you build up unnecessary complexity before you need it, it's just
going to get in your way later.
Archive powered by MHonArc 2.6.16.