diff options
-rw-r--r-- | manifests/daemon.pp | 3 |
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}"; } + } } |