summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2009-01-27 16:35:12 +0000
committerandreas <andreas@immerda.ch>2009-01-27 16:35:12 +0000
commit77255d4f82f2edf2439afec2ffb884506ceca795 (patch)
tree27531a38349dbbe118ca69dbac3981479b685012
parent0e42c5eb099b13db28cf921ca50ef4fab6cd0f30 (diff)
extending apache and webhosting modules for joomla. extending git module with clone
-rw-r--r--manifests/defines.pp11
1 files changed, 11 insertions, 0 deletions
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",
+ }
+}
+