Commit 966e0b5
Bogdan Dobrelya
Add retries for non transient file transfer errors
W/o this patch, Rabbitmq::Install::Rabbitmqadmin/Staging::File[rabbitmqadmin]
/Exec[/var/lib/rabbitmq/rabbitmqadmin]
sometimes could fail the curl command due to transient or connectivity errors.
The solution is:
- For transient errors:
* use timeout param for staging::file
* use --retries , --retry-delay flag for curl command passed to staging::file
- For connectivity errors:
* improve staging module to retry its commands as well, see
https://github.com/nanliu/puppet-staging/pull/52
Closes-bug: #MODULES-1650
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>1 parent cf30101 commit 966e0b5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments