Chapter 18. cf.control

control:
   
#   ChecksumUpdates = ( on )

    cfinputs_version = ( 1.0 )

    access         = ( root tsalolia )   # who can run cfengine

#    AddInstallable = ( noNagios ) # load my classes

    Auditing       = ( true ) # log everything we are doing

    domain         = ( example.com ) 

    EmailFrom      = ( "CFengine <aleksey@example.com>>" )

    EmailMaxLines  = ( inf ) # enable emailing a summary of the run to the sys adm

    IExpireAfter   = ( 9 ) # max time in minutes for any action
                           # to live... if it's still taking place
                           # after that, the next cfagent run will kill it!

    IfElapsed      = ( 1 ) # default, ignore any role if the number
                          # of minutes since it last ran is less than
                          # the value specified

    Inform         = ( on ) # inform to STDOUT of all actions taken

    MaxCfengines   = ( 3 ) # max # of concurrent cfengine instances


    OutputPrefix  = ( "!" )                 # Line prefix, for SMTP output


    RPMInstallCommand = ( "/usr/bin/yum -y install %s" )

    RPMRemoveCommand = ( "/usr/bin/yum -y remove %s" )


    SecureInput    = ( on ) # do not import files which are not owned
                            # by the uid running the program, or which
                            # are writable by groups or others.

    #site           = ( Hollywood )

    smtpserver     = ( localhost )

    sysadm         = ( root ) # email summary report will be sent to sysadm

    Syslog         = ( on ) # send information messages to syslog

    Verbose = ( off )

    Warnings       = ( off ) # report non-fatal warnings

    WarnNonUserFiles = ( true ) # warn about files in spool directories which
                                # do not have a name belonging to a known user


    WarnNonOwnerFiles = ( true ) # warn about files in spool directories whose
                                 # names do not correspond to who owns the file

    WarnNonUserMail = ( true ) 
                              
    WarnNonOwnerMail = ( true )



    myvariable     = ( something )
    mymacro        = ( somethingelse )
    myrandom       = ( RandomInt(3,6) )