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