From a2c8be9cd50afca3ff8eed08af32a881b919da41 Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Mon, 21 Mar 2022 17:18:30 -0400 Subject: [PATCH] puppet: Increase download timeout from 5m to 10m. The default timeout for `exec` commands in Puppet is 5 minutes[1]. On slow connections, this may not be sufficient to download larger downloads, such as the ~135MB golang tarball. Increase the timeout to 10 minutes; this is a minimum download speed of is ~225kB/s. Fixes #21449. [1]: https://puppet.com/docs/puppet/5.5/types/exec.html#exec-attribute-timeout --- puppet/zulip/manifests/sha256_tarball_to.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/puppet/zulip/manifests/sha256_tarball_to.pp b/puppet/zulip/manifests/sha256_tarball_to.pp index d1f3e8ee5a..785c44a7f7 100644 --- a/puppet/zulip/manifests/sha256_tarball_to.pp +++ b/puppet/zulip/manifests/sha256_tarball_to.pp @@ -11,5 +11,6 @@ define zulip::sha256_tarball_to( exec { $url: command => "${::zulip_scripts_path}/setup/sha256-tarball-to ${sha256} ${url} ${install_expanded}", creates => $a_file, + timeout => 600, } }