Fixed path to repositories from git::daemon.
This commit is contained in:
parent
caee979ec1
commit
7da2da06e2
1 changed files with 13 additions and 0 deletions
|
@ -79,6 +79,19 @@ class git::daemon inherits git::server {
|
|||
Package["git-daemon"] ],
|
||||
}
|
||||
|
||||
case $operatingsystem {
|
||||
"centos","fedora": {
|
||||
file { "/var/lib/git":
|
||||
ensure => link,
|
||||
force => true,
|
||||
target => "/srv/git",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
require => File["/srv/git"],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue