Go to the first, previous, next, last section, table of contents.


Debugging tips

A useful trick when debugging is to eliminate unwanted actions by changing their class name. Since cfengine assumes that any class it does not understand is the name of some host, it will simply ignore entries it does not recognize. For example:

   myclass::

can be changed to

   Xmyclass::

Since Xmyclass no longer matches any defined classes, and is not the name of any host it will simply be ignored. The -N option can also be used to the same effect. See section Runtime Options.


Go to the first, previous, next, last section, table of contents.