Add more timeout and retries to the apt update

Change-Id: I96f6ec330156d2441bda23468fbb89a32ad0147f
Related-Bug: 1587884
This commit is contained in:
Dmitry Ilyin 2016-06-01 18:01:30 +03:00
parent 955ba36dd6
commit c207efe962
1 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,14 @@ class osnailyfacter::fuel_pkgs::setup_repositories {
}
if $::osfamily == 'Debian' {
include ::apt
$update_hash = {
timeout => '600',
tries => '3',
}
class { '::apt' :
update => $update_hash,
}
$repositories = generate_apt_sources($repos)
$pins = generate_apt_pins($repos)