Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RabbitMQ version 3.4.1 #160

Closed
wants to merge 2 commits into from
Closed

RabbitMQ version 3.4.1 #160

wants to merge 2 commits into from

Conversation

dggc
Copy link
Contributor

@dggc dggc commented Nov 13, 2014

This pull request updates the default version of RabbitMQ to 3.4.1, and removes the restart notification upon enabling a plugin, since it is no longer needed in RabbitMQ >= 3.4.x

Disabling the restarting of the rabbitmq service upon enabling or
disabling a plugin, since it is not longer needed in RabbitMQ >= 3.4.x
@@ -24,13 +24,11 @@
node['rabbitmq']['enabled_plugins'].each do |plugin|
rabbitmq_plugin plugin do
action :enable
notifies :restart, "service[#{node['rabbitmq']['service_name']}]"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is beyond what the pull request title says. Would be nice if you could justify such changes in a PR comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that, and the delay to answer.

RabbitMQ 3.4 does not require a restart in the rabbitmq service to enable or disable a plugin (enhancement 24926 in rabbitmq, "allow plugins to be enabled / disabled without restarting the server"). I included that as it is part of the advantages of the upgraded version.

@jjasghar
Copy link
Contributor

Is it possible to write some Chefspec test(s) around this? It seems we are lacking them in this repo.

@dggc
Copy link
Contributor Author

dggc commented Nov 21, 2014

I'll try and write some!

@jjasghar
Copy link
Contributor

It seems our Rakefile is broken with this too: #162 If you could confirm this and +1 it I can merge this too.

@jjasghar
Copy link
Contributor

@dggc i got a start of some chefspec framework here on this branch: https://github.com/jjasghar/rabbitmq/tree/chefspec_update

@jjasghar
Copy link
Contributor

It looks like RabbitMQ released 3.4.2, i have #166 already ready to go and it's passing the preliminary tests. Can you take a stab at it and branch off that for anything that is also required for the 3.4.1 release?

jjasghar pushed a commit that referenced this pull request Dec 2, 2014
Pulled this from #160
@jjasghar
Copy link
Contributor

jjasghar commented Dec 2, 2014

I'm going to close this because i pulled the change over to #166

@jjasghar jjasghar closed this Dec 2, 2014
jjasghar pushed a commit that referenced this pull request Dec 2, 2014
Pulled this from #160
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants