Next: Creating node sub-classes
Up: Defining node classes (functional
Previous: Defining node classes (functional
Contents
NODECLASS syntax
NODECLASS_MAP
node
class[.subclass]...
Adds the specified node to the specified class.
NODECLASS_REGEXP
perl_regexp
class[.subclass]...
Adds all nodes matching the regular expression to the specified class.
Refer to related perl documentation for the syntax of perl-style regular
expressions.
NODECLASS_RANGE
prefix[RANGE]...sufix
class[.subclass]...
| RANGE can be of the form a[-b],x[-y], ... , where a
b and x
y
| Note: A RANGE is always enclosed in [ ] brackets.
Adds all nodes matching the range expression to the specified class.
Any occurrence of a numerical range within brackets matches hostnames
having digits within that range. For instance the expression
rack[1-4]node[1-32] would match a host with the name
rack4node12.
root
2005-06-19