Skip to content

Commit 56398bb

Browse files
committedAug 8, 2014
Merge pull request #212 from wywygmbh/unused_notify
Remove unused $notify in check.pp
2 parents b49a5a5 + 67ecc21 commit 56398bb

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed
 

‎manifests/check.pp

-12
Original file line numberDiff line numberDiff line change
@@ -109,18 +109,6 @@
109109
fail("sensu::check{${name}}: timeout must be a numeric (got: ${timeout})")
110110
}
111111

112-
if $client {
113-
if $server {
114-
115-
} else {
116-
$notify = Class['sensu::client::service']
117-
}
118-
} elsif $server {
119-
$notify = Class['sensu::client::service']
120-
} else {
121-
$notify = []
122-
}
123-
124112
$check_name = regsubst(regsubst($name, ' ', '_', 'G'), '[\(\)]', '', 'G')
125113

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

0 commit comments

Comments
 (0)