summaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
blob: 95840bd065f173b97225cbd7a3e77d42cb4cc4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class git::daemon {

  include git

  case $operatingsystem {
    debian: { include git::daemon::debian }
    centos: { include git::daemon::centos }
  }

  if $use_shorewall {
    include shorewall::rules::gitdaemon
  }

  if $use_nagios {
    nagios::service { "git-daemon": check_command => "check_git!${fqdn}"; }
  }
}