O'Reilly logo

CFEngine 3 Beginner's Guide by Rajneesh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix C. Important Functions and Variables

With the knowledge gained in Chapter 7, Workflows, let's move to more granular aspects of CFEngine and learn a few special functions and variables that could be very handy.

  • generate_manual
    • Type: Menu option
    • Allowed input range: yes, no, true, false, on, off
    • Default value: false

      This knowledge control promise, if enabled, generates texinfo manual pages. The promise can be enabled as follows:

    body knowledge control
    {
    generate_manual => "true";
    }
    
  • graph_directory
    • Type: string
    • Allowed input range: "?(([a-zA-Z]:\\.*)|(/.*))

      The knowledge control promise graph_directory is used to define the path to the directory where rendered .png files will be created. The path may be defined as follows:

    body knowledge control ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required