Re: Getting snapshot version of Chef?


Chronological Thread 
  • From: Adam Jacob <adam@opscode.com>
  • To: "chef@lists.opscode.com" <chef@lists.opscode.com>
  • Cc: "chef@lists.opscode.com" <chef@lists.opscode.com>
  • Subject: Re: Getting snapshot version of Chef?
  • Date: Sat, 6 Jun 2009 11:20:53 -0700

Make sure that you upgrade the chef server as well - the 0.6.3 client is not backwards compatible to the 0.6.2 server.

Sent from my iPhone

On Jun 6, 2009, at 9:19 AM, Daniel DeLeo <devnullian@gmail.com> wrote:



On Sat, Jun 6, 2009 at 3:48 AM, Jeppe Nejsum Madsen <jeppe@ingolfs.dk> wrote:
Hi,

I'm using chef-solo to bootstrap EC2 instances, and seems to be hit by
http://tickets.opscode.com/browse/CHEF-281 which is a showstopper.

The good news is that it seems to be fixed already :-) But I'm
wondering how to actually use the fix. Being a java guy, I don't know
much about ruby, gems etc so my basic question is:

Is there a way to (easily) install a snapshot version of chef? I don't
want to build from source since chef is installed as part of the
instance startup. Maintaining my own gems are probably(?) also not an
option. Alternatively, when is 0.6.4 due :-)

You seem to have ruled out everything except waiting for the next version ;-). In the spirit of being helpful, let me describe what you need to do to build your own gem, and you can see if it might be an option.

cd to where you want the source to go
cd chef/chef
rake gem

Now the gem should be under pkg/chef-0.6.3.gem
You could install it with something like gem install /path/to/chef-0.6.3.gem

As long as you have an easy way to get the gem file to your AWS instances, this should hopefully not be a deal-breaker.

HTH,
Dan DeLeo
 

/Jeppe




Archive powered by MHonArc 2.6.16.

§