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

Agent control promises

  • abortclasses
    • Type: slist
    • Allowed input range: .*

      The abortclasses promise lists classes which, if defined, lead to the termination of cf-agent. You can define it as follows:

    body agent control
    {
    abortclasses => { "exit_the_program", "terminate"};
    }
    
  • abortbundleclasses
    • Type: slist
    • Allowed input range: .*

      The abortbundleclass promise lists classes which, if defined, lead to the termination of the current bundle.

  • addclasses
    • Type: slist
    • Allowed input range: .*

      The addclasses promise lists a series of classes which are to be defined always in the correct context. It is used to add global literal classes.

    any::
    addclasses => { "web_server" };
    dbserver::
    {
    addclasses => { "MySQL_db", "Oracle_db" };
    }
    
  • agentaccess
    • Type: slist
    • Allowed input ...

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