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

Commit

Permalink
Add a default handler since the sensu server requires it
Browse files Browse the repository at this point in the history
Sam Kottler committed Jun 19, 2014
1 parent ae7b9bf commit 62d54be
Showing 3 changed files with 7 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.45)
rubygems-sensu (0.0.46)
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.45'
version '0.0.46'

depends 'chef-vault'
depends 'sensu'
5 changes: 5 additions & 0 deletions cookbooks/rubygems-sensu/recipes/server.rb
Original file line number Diff line number Diff line change
@@ -12,6 +12,11 @@
node.default['sensu']['dashboard']['user'] = sensu_creds['user']
node.default['sensu']['dashboard']['password'] = sensu_creds['password']

sensu_handler 'default' do
type 'pipe'
command 'cat'
end

include_recipe 'rubygems-sensu::librato'
include_recipe 'rubygems-sensu::slack'

0 comments on commit 62d54be

Please sign in to comment.