Added retry to update operation

This commit is contained in:
Ian Unruh 2014-03-05 15:59:21 -06:00
parent a35c30fe4b
commit 824da679d4
2 changed files with 3 additions and 0 deletions

View file

@ -32,6 +32,7 @@ class apt(
$purge_preferences = false,
$purge_preferences_d = false,
$update_timeout = undef,
$update_tries = undef,
$sources = undef
) {

View file

@ -6,5 +6,7 @@ class apt::update {
logoutput => 'on_failure',
refreshonly => true,
timeout => $apt::update_timeout,
tries => $apt::update_tries,
try_sleep => 1
}
}