def

Table of Contents

The context def is populated by the Masterfiles Policy Framework and can also be populated by the augments file.

Note: Variables defined from policy in a bundle named def will override the variables defined by the augments file unless the policy explicitly guards against it.

For example mailto is only defined from policy if it is not yet defined by the augments file.:

bundle common def
{

  vars:

  # ...

      "mailto"
        string => "root@$(def.domain)",
        ifvarclass => not(isvariable("mailto"));

  # ...
}