aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2013-06-09 12:40:04 +0000
committerColin Guthrie <colin@mageia.org>2013-06-09 12:40:04 +0000
commit11f138283054cdf025521ec5c48f031e1f02cd1a (patch)
treee8f9eadc02d3bd0a0500b4f855e9bd161725bb1c /modules
parent8735ab47dd8a65bccc93da29783c9412988773cc (diff)
downloadpuppet-11f138283054cdf025521ec5c48f031e1f02cd1a.tar
puppet-11f138283054cdf025521ec5c48f031e1f02cd1a.tar.gz
puppet-11f138283054cdf025521ec5c48f031e1f02cd1a.tar.bz2
puppet-11f138283054cdf025521ec5c48f031e1f02cd1a.tar.xz
puppet-11f138283054cdf025521ec5c48f031e1f02cd1a.zip
git: Use --mirror over --bare such that new branches etc. are pulled.
Diffstat (limited to 'modules')
-rw-r--r--modules/git/manifests/mirror.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/manifests/mirror.pp b/modules/git/manifests/mirror.pp
index 0e0c30cd..b3a9be9a 100644
--- a/modules/git/manifests/mirror.pp
+++ b/modules/git/manifests/mirror.pp
@@ -3,7 +3,7 @@ define git::mirror( $source,
$refresh = '*/5') {
include git::common
- exec { "/usr/bin/git clone --bare $source $name":
+ exec { "/usr/bin/git clone --mirror $source $name":
alias => "git mirror $name",
creates => $name,
before => File["$name/description"],