Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • "vntype in:"
  • "vntype not in:"
  • "hosts host in:"
  • "hosts host not in:"

are recognized at the start of a string, the rest of the string is recognized as a list of vntypes/hosts for which to set the variable to True ("in:") or False ("not in:"). For all other hosts by definition the variable is set to the inverse. The entries are usually simply names but the code will allow single entries that are fnmatch.fnmatch patterns; commas are not supported in the patterns since they separate entries. This would mainly be used by sites for wildcards using * or ?.

Every section of the config file now has an "enabled" attribute, which should be set to something that is transformed into a boolean (i.e. either one of the strings that is transformed into a boolean described above, or a true boolean). If "enabled" is not defined in a section, then it is implictly taken as "true" (and possibly modified by what follows).

To go back to the examples given in the overview:

...