#21 new
Deleted User

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

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.

New-ticket Create new ticket

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

Shared Ticket Bins

People watching this ticket

Referenced by

Pages