dispatch return code dependant on success threshold
Reported by jhmartin | June 23rd, 2011 @ 08:52 AM
When performing an ad-hoc command, consider allowing the user to set a 'error threshold' above which dispatch will itself return non-zero.
For example, if the threshold is 0 and the command runs on 5 hosts and fails on 1, dispatch returns non-zero. If the threshold is 1 and 1 hosts fails out of 5, dispatch returns 0.
This simplifies using dispatch in larger shell scripts that need to tolerate the failure of some cluster members during a cluster-wide procedure.
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues