Tags should have predicates
Reported by Deleted User | September 30th, 2010 @ 04:20 PM
A predicate is an algorithmic modification to a set of nodes/resources represented by a tag.
For example, given a tag web_array the following would be possible predicates.
web_array[10] grab 10 nodes
web_array[1%] grabs 1% of the nodes in the array
web_array[random] grab a random selection of nodes
It should also be noted that the predicates should be deterministic unless it's clear that it's not (like random). The condition is that the resource model does not change between invocations. Perhaps even more fine grain is that any nodes identified in a pervious run are attempted first (queried from the resource model) and only if they don't match exactly are new ones replenished.
Comments and changes to this ticket
-
Alex-SF November 24th, 2010 @ 08:40 AM
- Milestone cleared.
- Milestone order changed from 6 to 0
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
People watching this ticket
Referenced by
- 185 Feature request: multiple prefedined node-filters for Jobs Similar in nature to #20 and #21