Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information