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

Commit

Permalink
cleanup syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dwradcliffe committed Sep 5, 2014
1 parent 2d67bbd commit 84591f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/rubygems-sensu/recipes/cache.rb
Expand Up @@ -26,7 +26,7 @@
end

sensu_check 'check_memcached' do
command "perl /etc/sensu/plugins/check_memcached.pl -H localhost"
command 'perl /etc/sensu/plugins/check_memcached.pl -H localhost'
handlers ['slack', 'pagerduty']
subscribers ['cache']
interval 30
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-sensu/recipes/database.rb
Expand Up @@ -22,7 +22,7 @@
additional(notification: "[#{node.chef_environment}] postgres is not running", occurrences: 3)
end

%w{ connection locks timesync commitratio }.each do |check|
%w( connection locks timesync commitratio ).each do |check|
sensu_check "check_#{check}_connection" do
command "perl /etc/sensu/plugins/check_postgres.pl --action #{check} #{db_connection}"
handlers ['slack', 'pagerduty']
Expand Down

0 comments on commit 84591f6

Please sign in to comment.