puppetlabs/puppet-acceptance — pull request #416 by kbarber (2013-03-21 13:33:33+00:00)
Title: Catch generic Fog exceptions for retry when using fleet.start

Previously we had been seeing multiple exceptions to do with AWS transient
failures:

#
# Request limit exceeded.>

This patch wraps the call to fleet.start in a retry wrapper, returning retry
count status each time, a random sleep (to work around API request limits)
and finally the ability to throw the original error if the exception
continues.

I see this as an initial start to adding resiliency to this problematic area,
to at least cater for the majority of our errors for now.

Signed-off-by: Ken Barber