Skip to content

Commit

Permalink
Merge pull request #212 from wywygmbh/unused_notify
Browse files Browse the repository at this point in the history
Remove unused $notify in check.pp
  • Loading branch information
jamtur01 committed Aug 8, 2014
2 parents b49a5a5 + 67ecc21 commit 56398bb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions manifests/check.pp
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,6 @@
fail("sensu::check{${name}}: timeout must be a numeric (got: ${timeout})")
}

if $client {
if $server {

} else {
$notify = Class['sensu::client::service']
}
} elsif $server {
$notify = Class['sensu::client::service']
} else {
$notify = []
}

$check_name = regsubst(regsubst($name, ' ', '_', 'G'), '[\(\)]', '', 'G')

file { "/etc/sensu/conf.d/checks/${check_name}.json":
Expand Down

0 comments on commit 56398bb

Please sign in to comment.