summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-05-11 10:52:02 -0400
committerMicah Anderson <micah@riseup.net>2011-05-11 10:52:02 -0400
commit0214d1a8506591b8d208b0571a6f5c1b47144700 (patch)
tree12d713b7ba47267826c4f1f0db9071d17c5bbc74
parent1b00cd3a4af5bc1d868b7c4127b1876c16525b18 (diff)
add to git::daemon::disable nagios::service ensure=> absent for the git-daemon nagios check
-rw-r--r--manifests/daemon/disable.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/daemon/disable.pp b/manifests/daemon/disable.pp
index 057cc88..9a734b5 100644
--- a/manifests/daemon/disable.pp
+++ b/manifests/daemon/disable.pp
@@ -25,5 +25,7 @@ class git::daemon::disable inherits git::daemon::base {
include shorewall::rules::gitdaemon::absent
}
+ if $use_nagios {
+ nagios::service { "git-daemon": check_command => "check_git!${fqdn}", ensure => absent; }
}