From 77255d4f82f2edf2439afec2ffb884506ceca795 Mon Sep 17 00:00:00 2001 From: andreas Date: Tue, 27 Jan 2009 16:35:12 +0000 Subject: extending apache and webhosting modules for joomla. extending git module with clone --- manifests/defines.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/manifests/defines.pp b/manifests/defines.pp index 5f71dd5..b88b19c 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -49,3 +49,14 @@ define git::web::repo::lighttpd( notify => Service['lighttpd'], } } + +define git::clone( + $git_repo, + $projectroot +){ + exec {"git-clone": + command => "git-clone --no-hardlinks $git_repo $projectroot", + creates => "$projectroot/.git", + } +} + -- cgit v1.2.3