aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-07-20 00:44:27 +0000
committerMichael Scherer <misc@mageia.org>2011-07-20 00:44:27 +0000
commit544cb686b6f6decf8fd7ef62b8ff9fbb490743df (patch)
treeeb628d5ebd480a4779840162c41d82af45e4244d /modules/git
parent428fc02f802c6260e6a1ec4923fdcb91af34fd7b (diff)
downloadpuppet-544cb686b6f6decf8fd7ef62b8ff9fbb490743df.tar
puppet-544cb686b6f6decf8fd7ef62b8ff9fbb490743df.tar.gz
puppet-544cb686b6f6decf8fd7ef62b8ff9fbb490743df.tar.bz2
puppet-544cb686b6f6decf8fd7ef62b8ff9fbb490743df.tar.xz
puppet-544cb686b6f6decf8fd7ef62b8ff9fbb490743df.zip
use bare repository for mirror
Diffstat (limited to 'modules/git')
-rw-r--r--modules/git/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/manifests/init.pp b/modules/git/manifests/init.pp
index 51547790..247beea5 100644
--- a/modules/git/manifests/init.pp
+++ b/modules/git/manifests/init.pp
@@ -102,7 +102,7 @@ class git {
$description,
$refresh = '*/5') {
- exec { "/usr/bin/git clone $source $name":
+ exec { "/usr/bin/git clone --bare $source $name":
alias => "git mirror $name",
creates => $name,
}