From 11f138283054cdf025521ec5c48f031e1f02cd1a Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 9 Jun 2013 12:40:04 +0000 Subject: git: Use --mirror over --bare such that new branches etc. are pulled. --- modules/git/manifests/mirror.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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"], -- cgit v1.2.1