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

Commit

Permalink
remove old sensu check config
Browse files Browse the repository at this point in the history
dwradcliffe committed Mar 15, 2015
1 parent c1f5163 commit 30de6ff
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -270,7 +270,7 @@ GRAPH
rubygems (>= 0.0.0)
rubygems-ruby (0.0.5)
apt (>= 0.0.0)
rubygems-sensu (0.1.30)
rubygems-sensu (0.1.34)
build-essential (>= 0.0.0)
chef-vault (>= 0.0.0)
dnsimple (>= 0.0.0)
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.1.30'
version '0.1.34'

depends 'build-essential'
depends 'chef-vault'
8 changes: 8 additions & 0 deletions cookbooks/rubygems-sensu/recipes/default.rb
Original file line number Diff line number Diff line change
@@ -50,6 +50,14 @@
end
end

# make sure no checks are defined on the clients
unless node['name'] == 'monitoring01.common.rubygems.org'
directory '/etc/sensu/conf.d/checks' do
action :delete
recursive true
end
end

include_recipe 'build-essential'

include_recipe 'sensu::client_service'

0 comments on commit 30de6ff

Please sign in to comment.