puppetlabs/puppetlabs-rabbitmq — pull request #248 by bogdando (2014-10-24 15:08:11+00:00)
Title: Make provider to wait for rabbitmq cluster

W/o this fix, then RabbitMQ put in a cluster and managed
by Pacemaker, rabbitmqctl/rabbitmqadmin can fail their
requests due to cluster is not ready yet.

The solution is to introduce a module with a common function wait_for_rabbitmq.
And include it as a class methods for
providers to ensure rabbitmqctl or rabbitmq_admin call will
retry instead of fail then cluster is not ready.

Co-authors: Dmitry Ilyin
Closes-bug: #MODULES-1452

Signed-off-by: Bogdan Dobrelya