Getting snapshot version of Chef?

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 :slight_smile: 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 :slight_smile:

/Jeppe

You can build your own gems with 'rake gem' from the Opscode master.
We are in the final stages of testing and documenting the new features
in 0.7 - should have a release out Tuesday.

Sent from my iPhone

On Jun 6, 2009, at 2: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 :slight_smile: 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 :slight_smile:

/Jeppe

On Sat, Jun 6, 2009 at 3:48 AM, Jeppe Nejsum Madsen jeppe@ingolfs.dkwrote:

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 :slight_smile: 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 :slight_smile:

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
git clone git://github.com/opscode/chef.git
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

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 :slight_smile: 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 :slight_smile:

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
git clone git://github.com/opscode/chef.git
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

On 06/06/2009, at 18.15, Adam Jacob wrote:

You can build your own gems with 'rake gem' from the Opscode
master. We are in the final stages of testing and documenting the
new features in 0.7 - should have a release out Tuesday.

Excellent news!
/Jeppe

On 06/06/2009, at 18.19, Daniel DeLeo 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 :slight_smile: 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 :slight_smile:

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.

:slight_smile: What I meant was I don't want to build from source to install
chef during instance launch. Thanks to your instructions and some
quick google fu I've come the conclusion that it is straightforward to
make your own gem repo...

/Jeppe

On Jun 7, 2009, at 1:40 PM, Jeppe Nejsum Madsen wrote:

:slight_smile: What I meant was I don't want to build from source to install
chef during instance launch. Thanks to your instructions and some
quick google fu I've come the conclusion that it is straightforward
to make your own gem repo...

We also provide a cookbook for setting up a gems server. README is in
the cookbook, start here:

--
Opscode, Inc
Joshua Timberman, Senior System Engineer
C: 720.878.4322 E: joshua@opscode.com