Collecting Definitions

To make global definitions that can be used in all of your cfengine components, use a bundle that is typed "common". Note that classes are always global, but variables have scope. Use a simple scope label like "G" for global to keep the references short:
bundle common G
{
vars:

  "myvariable" string => "Refer to me as \$(G.myvariable)";

classes:


}


Mark Burgess
Last modified: Thu May 1 13:38:16 CEST 2008