[chef] Re: Re: Re: Install local gems with chef


Chronological Thread 
  • From: Adam Jacob <adam@opscode.com>
  • To: chef@lists.opscode.com
  • Subject: [chef] Re: Re: Re: Install local gems with chef
  • Date: Tue, 7 Jul 2009 11:27:44 -0700

On Tue, Jul 7, 2009 at 11:20 AM, John Timms<john@gnoso.com> wrote:
> Yes- that was my thinking as well- use the execute resources, but that would
> loose the feature that keeps gems from being re-installed if they are
> already installed. I imagine that this could be overcome with a bit of
> "creates..." usage though.

Right - either that, or a not_if block that does something like:

gem list --local GEMNAME | grep VERSION

Adam

-- 
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E: adam@opscode.com



Archive powered by MHonArc 2.6.16.

§