Merge "Configure apt to retry more on failures"

This commit is contained in:
Jenkins 2014-06-25 22:46:13 +00:00 committed by Gerrit Code Review
commit c8057d5ca8
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
APT::Acquire::Retries "20";

View File

@ -103,6 +103,14 @@ class openstack_project::base(
key_server => 'pgp.mit.edu',
}
file { '/etc/apt/apt.conf.d/80retry':
owner => 'root',
group => 'root',
mode => '0444',
source => 'puppet:///modules/openstack_project/80retry',
replace => true,
}
case $::lsbdistcodename {
'trusty': {
file { '/etc/apt/preferences.d/00-puppet.pref':