Deployment map role rewrites
Deployment map role-specific rewrites, $/, $|
As of the MS 8.0.2 release, it is possible to have rewrite rules whose application is dependent on the role of a host in the current deployment map.
Deployment map role rewrite checking is triggered by the presence of a
$| control sequence in the template part of a rule. The characters following the
$Q, up until either an at sign,
@, percent sign,
%, subsequent channel, domain, or TLD check, or an error message
$?, is should be of the form "
host is a host name and
role is a role pattern.
channel control sequence causes the rule to fail if the host
host is not in the deployment map or it's role doesn't match the role pattern
role causes the rule to fail if the role pattern matches the host's role in the deployment map.
host specification will itself be some sort of substitution, e.g.
$D. The exact form will depend on the desired effect as well as the form of the rewrite rule pattern.
The role pattern can contain glob-style wildcards.
$| clauses may be specified. If any one of multiple
$/ clauses matches, the rule will succeed. If any of multiple
$| clauses matches, the rule will fail.