summaryrefslogtreecommitdiff
path: root/manifests/daemon.pp
blob: 6d243d092b345c7165d02ef3bf58cb70343666ee (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}"; }
    }
}