From 7da2da06e23beadc4b6511942450c212064a2339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20M=E4kinen?= Date: Sun, 5 Jun 2011 23:41:48 +0300 Subject: [PATCH] Fixed path to repositories from git::daemon. --- git/manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/git/manifests/init.pp b/git/manifests/init.pp index 218d559..46763c8 100644 --- a/git/manifests/init.pp +++ b/git/manifests/init.pp @@ -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"], + } + } + } + }