Skip to content

Commit 384892a

Browse files
committed
Merge pull request #294 from bogdando/fix_MODULES-1650
Add retries for non transient file transfer errors
2 parents b39952a + 966e0b5 commit 384892a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/install/rabbitmqadmin.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
staging::file { 'rabbitmqadmin':
1616
target => '/var/lib/rabbitmq/rabbitmqadmin',
1717
source => "${protocol}://${default_user}:${default_pass}@localhost:${management_port}/cli/rabbitmqadmin",
18-
curl_option => '-k --noproxy localhost',
18+
curl_option => '-k --noproxy localhost --retry 30 --retry-delay 6',
19+
timeout => '180',
1920
wget_option => '--no-proxy',
2021
require => [
2122
Class['rabbitmq::service'],

0 commit comments

Comments
 (0)