Add retry conditions foc mcollective queues creation
This commit is contained in:
parent
1ce8ca50f7
commit
e4f74a07f6
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user