From b9f03026153283aa5aee2d2457fc42ba5d692cbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20A=2E=20S=C3=A1nchez=20Hidalgo?= Date: Thu, 31 Oct 2013 17:38:06 +0100 Subject: [PATCH] Add timeout parameter to git::repo --- manifests/repo.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/manifests/repo.pp b/manifests/repo.pp index f4a2328..640e405 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -24,7 +24,8 @@ $owner = 'root', $group = 'root', $update = false, - $bare = false + $bare = false, + $timeout = 60 ){ warning('Using git::repo is depreciated!') @@ -78,7 +79,7 @@ provider => shell, creates => $creates, require => Package[$git::params::package], - timeout => 600, + timeout => $timeout, } # I think tagging works, but it's possible setting a tag and a branch will just fight.