Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
Pin rabbitmq-server to 3.1.5 since it will crash when messages persis…
Browse files Browse the repository at this point in the history
…ted to disk are re-enqeued after postinst runs
Sam Kottler committed Jun 19, 2014
1 parent 3006a7d commit 566bf4f
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -216,7 +216,7 @@ GRAPH
rubygems-repo (0.0.6)
aptly (>= 0.0.0)
rubygems (>= 0.0.0)
rubygems-sensu (0.0.37)
rubygems-sensu (0.0.38)
chef-vault (>= 0.0.0)
sensu (>= 0.0.0)
rubygems-ssh (0.0.3)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-sensu/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name 'rubygems-sensu'
maintainer 'RubyGems.org ops team'

version '0.0.37'
version '0.0.38'

depends 'chef-vault'
depends 'sensu'
6 changes: 6 additions & 0 deletions cookbooks/rubygems-sensu/recipes/server.rb
Original file line number Diff line number Diff line change
@@ -16,6 +16,12 @@
include_recipe 'rubygems-sensu::slack'

include_recipe 'sensu::rabbitmq'

apt_preference "rabbitmq-server" do
pin "version 3.1.5"
pin_priority "700"
end

include_recipe 'sensu::redis'
include_recipe 'sensu::server_service'
include_recipe 'sensu::api_service'

0 comments on commit 566bf4f

Please sign in to comment.