Skip to content

Commit

Permalink
Ditto for RabbitMQ
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Oct 3, 2012
1 parent 014af12 commit 9caa5f3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ci_environment/rabbitmq/attributes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@
default[:rabbitmq][:mnesiadir] = nil default[:rabbitmq][:mnesiadir] = nil


default[:rabbitmq][:high_memory_watermark] = 0.04 default[:rabbitmq][:high_memory_watermark] = 0.04

default[:rabbitmq][:service][:enabled] = false

8 changes: 6 additions & 2 deletions ci_environment/rabbitmq/recipes/default.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@


service "rabbitmq-server" do service "rabbitmq-server" do
supports :restart => true, :status => true, :reload => true supports :restart => true, :status => true, :reload => true
# intentionally disabled on boot. MK.
action [:disable, :start] if node.rabbitmq.service.enabled
action [:enable, :start]
else
action [:disable, :start]
end
end end

0 comments on commit 9caa5f3

Please sign in to comment.