Merge pull request #185 from dalen/retry

Retry package installs
This commit is contained in:
Ashley Penney 2013-11-14 04:53:48 -08:00
commit a66915e85e

View file

@ -61,6 +61,8 @@ define apt::source(
command => "${provider} -y install ${required_packages}",
logoutput => 'on_failure',
refreshonly => true,
tries => 3,
try_sleep => 1,
subscribe => File["${name}.list"],
before => Exec['apt_update'],
}