blob: beb33aba807ffa449beb8a412b41367359e283ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class git::daemon::vhosts inherits git::daemon {
if $git_daemon == 'service' {
File['/etc/sysconfig/git-daemon']{
source => [ "puppet:///modules/site-git/sysconfig/${fqdn}/git-daemon.vhosts",
"puppet:///modules/site-git/sysconfig/git-daemon.vhosts",
"puppet:///modules/git/sysconfig/git-daemon.vhosts" ],
}
} else {
Xinetd::File['git']{
source => [ "puppet:///modules/site-git/xinetd.d/${fqdn}/git.vhosts",
"puppet:///modules/site-git/xinetd.d/git.vhosts",
"puppet:///modules/git/xinetd.d/git.vhosts" ],
}
}
}
|