aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-03-03 15:39:48 +0000
committerPascal Terjan <pterjan@gmail.com>2016-03-03 15:39:48 +0000
commitdc19b979a176306331f0780ea4c0093f83b27f55 (patch)
tree52c59e987e392a900fb28d803bbc023bc7fe57eb /modules/buildsystem
parent22c7310b8fafb7df512e4e44f81dfda41675658f (diff)
downloadpuppet-dc19b979a176306331f0780ea4c0093f83b27f55.tar
puppet-dc19b979a176306331f0780ea4c0093f83b27f55.tar.gz
puppet-dc19b979a176306331f0780ea4c0093f83b27f55.tar.bz2
puppet-dc19b979a176306331f0780ea4c0093f83b27f55.tar.xz
puppet-dc19b979a176306331f0780ea4c0093f83b27f55.zip
Kill ssh connections after they have been dead for 30s
Diffstat (limited to 'modules/buildsystem')
-rw-r--r--modules/buildsystem/templates/upload.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/upload.conf b/modules/buildsystem/templates/upload.conf
index 19290e2f..2ba68e6b 100644
--- a/modules/buildsystem/templates/upload.conf
+++ b/modules/buildsystem/templates/upload.conf
@@ -126,4 +126,5 @@ my $homedir = "<%= scope.lookupvar('buildsystem::var::iurt::homedir') %>";
-%>
default => [ 'i586', 'x86_64' ],
},
+ ssh_options => "-o ServerAliveInterval=10 -o ConnectTimeout=20 -o BatchMode=yes",
}