Add retry conditions foc mcollective queues creation

This commit is contained in:
Dmitry Ilyin 2013-12-03 14:21:17 +04:00
parent 1ce8ca50f7
commit e4f74a07f6

View File

@ -107,6 +107,8 @@ class mcollective::rabbitmq (
logoutput => true, logoutput => true,
require => [Service['rabbitmq-server'], Rabbitmq_user_permissions["${user}@${actual_vhost}"]], require => [Service['rabbitmq-server'], Rabbitmq_user_permissions["${user}@${actual_vhost}"]],
path => '/bin:/usr/bin:/sbin:/usr/sbin', path => '/bin:/usr/bin:/sbin:/usr/sbin',
tries => 10,
try_sleep => 3,
} }
exec { 'create-mcollective-broadcast-exchange': exec { 'create-mcollective-broadcast-exchange':
@ -115,6 +117,8 @@ class mcollective::rabbitmq (
logoutput => true, logoutput => true,
require => [Service['rabbitmq-server'], Rabbitmq_user_permissions["${user}@${actual_vhost}"]], require => [Service['rabbitmq-server'], Rabbitmq_user_permissions["${user}@${actual_vhost}"]],
path => '/bin:/usr/bin:/sbin:/usr/sbin', path => '/bin:/usr/bin:/sbin:/usr/sbin',
tries => 10,
try_sleep => 3,
} }
} }