aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/manifests/init.pp')
-rw-r--r--modules/git/manifests/init.pp20
1 files changed, 0 insertions, 20 deletions
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp
index 50aa8d72..32d1060b 100644
--- a/modules/git/manifests/init.pp
+++ b/modules/git/manifests/init.pp
@@ -1,24 +1,4 @@
class git {
- define mirror($source,
- $description,
- $refresh = '*/5') {
-
- exec { "/usr/bin/git clone --bare $source $name":
- alias => "git mirror $name",
- creates => $name,
- before => File["$name/description"],
- }
-
- file { "$name/description":
- content => $description,
- }
-
- cron { "update $name":
- command => "cd $name ; /usr/bin/git fetch -q",
- minute => $refresh
- }
- }
-
define svn_repository($source,
$std_layout = true,
$refresh = '*/5') {