RabbitMQ cookbook bugs on Ubuntu/Debian -- pull request sent

I discovered that the opscode-cookbooks/rabbitmq cookbook wasn't properly
installing RabbitMQ from the correct repository, nor was it setting the
erlang key via the attributes. Theoretically, these problems should have
only affected Ubuntu/Debian users.

This is just an announcement that I have fixed the problem and sent a pull
request. I've only tested it on Ubuntu 10.04 though. If anyone is running
on Redhat or CentOS and is willing to make sure that the changes I made
haven't caused any regressions that'd be great.

http://tickets.opscode.com/browse/COOK-1317

Hope this helps. :slight_smile:

Kevin Nuckolls
Senior Software Engineer
Mosaik Solutions

Last time I checked the cookbook was also sorely out of date (2.4.1). Is
this still true?
On May 24, 2012 3:06 PM, "Kevin Nuckolls" kevin.nuckolls@gmail.com wrote:

I discovered that the opscode-cookbooks/rabbitmq cookbook wasn't properly
installing RabbitMQ from the correct repository, nor was it setting the
erlang key via the attributes. Theoretically, these problems should have
only affected Ubuntu/Debian users.

This is just an announcement that I have fixed the problem and sent a pull
request. I've only tested it on Ubuntu 10.04 though. If anyone is running
on Redhat or CentOS and is willing to make sure that the changes I made
haven't caused any regressions that'd be great.

http://tickets.opscode.com/browse/COOK-1317
[COOK-1317] RabbitMQ cookbook is installing a very old / incorrect version of RabbitMQ by knuckolls · Pull Request #3 · rabbitmq/chef-cookbook · GitHub

Hope this helps. :slight_smile:

Kevin Nuckolls
Senior Software Engineer
Mosaik Solutions

At least on Ubuntu 10.04 the modern Rabbitmq package repository was being
configured but apt-get update wasn't being run so it was just falling back
to the very old rabbitmq-server package in the Canonical repository. For
10.04 that was actually 1.7.4 which didn't even have cluster_status among
other things.

My fixes make it so it should install the newest stable package from the
repository that RabbitMQ maintains. So no, it's no longer out of date.
Right now it installs 2.8.2 on Ubuntu/Debian systems which is the latest
release.

It is out of date for Redhat/CentOS/Scientific as you can see here[1]. It's
still installing the 2.6.1 RPM.

-Kevin

[1]

On Thu, May 24, 2012 at 3:51 PM, James Carr james.r.carr@gmail.com wrote:

Last time I checked the cookbook was also sorely out of date (2.4.1). Is
this still true?
On May 24, 2012 3:06 PM, "Kevin Nuckolls" kevin.nuckolls@gmail.com
wrote:

I discovered that the opscode-cookbooks/rabbitmq cookbook wasn't properly
installing RabbitMQ from the correct repository, nor was it setting the
erlang key via the attributes. Theoretically, these problems should have
only affected Ubuntu/Debian users.

This is just an announcement that I have fixed the problem and sent a
pull request. I've only tested it on Ubuntu 10.04 though. If anyone is
running on Redhat or CentOS and is willing to make sure that the changes I
made haven't caused any regressions that'd be great.

http://tickets.opscode.com/browse/COOK-1317
[COOK-1317] RabbitMQ cookbook is installing a very old / incorrect version of RabbitMQ by knuckolls · Pull Request #3 · rabbitmq/chef-cookbook · GitHub

Hope this helps. :slight_smile:

Kevin Nuckolls
Senior Software Engineer
Mosaik Solutions