diff options
author | Colin Guthrie <colin@mageia.org> | 2013-06-09 12:40:04 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2013-06-09 12:40:04 +0000 |
commit | 11f138283054cdf025521ec5c48f031e1f02cd1a (patch) | |
tree | e8f9eadc02d3bd0a0500b4f855e9bd161725bb1c /modules | |
parent | 8735ab47dd8a65bccc93da29783c9412988773cc (diff) | |
download | puppet-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.pp | 2 |
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"], |