Merge "Configure apt to retry more on failures"
This commit is contained in:
commit
c8057d5ca8
1
modules/openstack_project/files/80retry
Normal file
1
modules/openstack_project/files/80retry
Normal file
@ -0,0 +1 @@
|
||||
APT::Acquire::Retries "20";
|
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user