puppetlabs/puppet — pull request #1691 by bogdando (2013-06-05 17:29:34+00:00)
Title: (#14220) Add puppet yum provider retry operation

Without this feature, in case of "Error 256 No more mirrors to try" yum provider would have failed operation in progress which would cause,
for example, wanted package installation failed and all dependencies skipped.
This is a problem because yum should provide operation completion a better way, at least it should try to expire local cache
and retry the operation once or several times more.
Solution/Improvement: If operation wanted had failed, puppet provider for yum would try to expire cache and redo failed
operation for several times (3 is default).
Why it is a good improvement: That might restore failed operation in some cases (f.e. broken or outdated metadata file in cache)
and allow puppet to continue operations.

Signed-off-by: Bogdan Dobrelya