diff options
author | Olaf Flebbe <of@oflebbe.de> | 2016-10-02 12:21:24 +0200 |
---|---|---|
committer | Olaf Flebbe <of@oflebbe.de> | 2016-10-02 12:21:24 +0200 |
commit | b9463727acdfd10c3a937957787eff1413773411 (patch) | |
tree | 047982799725a374340238565f06b2346cf5c34d /bigtop_toolchain | |
parent | d579d00a5907c1b9eea60daed63aae4c9eb2f674 (diff) |
BIGTOP-2546: Make debian/ubuntu toolchain install more resistent against failures
Diffstat (limited to 'bigtop_toolchain')
-rw-r--r-- | bigtop_toolchain/manifests/packages.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bigtop_toolchain/manifests/packages.pp b/bigtop_toolchain/manifests/packages.pp index cacf88a6..3a5e27a6 100644 --- a/bigtop_toolchain/manifests/packages.pp +++ b/bigtop_toolchain/manifests/packages.pp @@ -174,7 +174,10 @@ class bigtop_toolchain::packages { "xfslibs-dev", "libbz2-dev" ] - exec { "apt-update": + file { "/etc/apt/apt.conf.d/retries": + content => "Aquire::Retries \"5\"; +" + } -> exec { "apt-update": command => "/usr/bin/apt-get update" } Exec["apt-update"] -> Package <| |> |