summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/daemon.pp3
1 files changed, 3 insertions, 0 deletions
diff --git a/manifests/daemon.pp b/manifests/daemon.pp
index 33c0a26..6d243d0 100644
--- a/manifests/daemon.pp
+++ b/manifests/daemon.pp
@@ -11,4 +11,7 @@ class git::daemon {
include shorewall::rules::gitdaemon
}
+ if $use_nagios {
+ nagios::service { "git-daemon": check_command "check_git!${fqdn}"; }
+ }
}