www.delorie.com/gnu/docs/cfengine/cfengine-Reference_23.html   search  
 
Buy GNU books!


GNU cfengine

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.8 control

The fundamental piece of any cfengine script or configuration file is the control section. If you omit this part of a cfengine script, it will not do anything! The control section is used to define certain variables, set default values and define the order in which the various actions you have defined will be carried out. Because cfengine is a declarative or descriptive language, the order in which actions appear in the file does not necessarily reflect the order in which they are executed. The syntax of declarations here is:

 
  control:

     classes::

        variable = ( list or value )

The control section is a sequence of declarations which looks something like the following example:

 
control:

  site     = ( univ )
  domain   = ( univ.edu )
  sysadm   = ( admin@computing.univ.edu )
  netmask  = ( 255.255.252.0 )
  timezone = ( EDT )
  nfstype  = ( nfs )

  childlibpath = ( /usr/local:/mylibs )

  sensiblesize  = ( 1000 )
  sensiblecount = ( 2 )
  editfilesize  = ( 4000 )

  actionsequence =
     (
     links.some
     mountall
     links.others
     files
     )

  myvariable = ( something )
  mymacro    = ( somethingelse )

Parentheses are required when making a declaring information in cfengine.

The meaning of each of these lines is described below.

3.8.1 access  
3.8.2 actionsequence  
3.8.3 AddClasses  
3.8.4 AddInstallable  
3.8.5 AllowRedefinitionOf  
3.8.6 BinaryPaddingChar  
3.8.7 ChecksumDatabase  
3.8.8 ChecksumUpdates  
3.8.9 ChildLibPath  
3.8.10 CopyLinks  
3.8.11 DefaultCopyType  
3.8.12 DeleteNonUserFiles  
3.8.13 DeleteNonOwnerFiles  
3.8.14 DeleteNonUserMail  
3.8.15 DeleteNonOwnerMail  
3.8.16 domain  
3.8.17 DryRun  
3.8.18 editbinaryfilesize  
3.8.19 editfilesize  
3.8.20 EmptyResolvConf  
3.8.21 Exclamation  
3.8.22 ExcludeCopy  
3.8.23 ExcludeLink  
3.8.24 ExpireAfter  
3.8.25 HomePattern  
3.8.26 IfElapsed  
3.8.27 Inform  
3.8.28 InterfaceName  
3.8.29 FileExtensions  
3.8.30 LinkCopies  
3.8.31 LogDirectory  
3.8.32 LogTidyHomeFiles  
3.8.33 moduledirectory  
3.8.34 mountpattern  
3.8.35 netmask  
3.8.36 NonAlphaNumFiles  
3.8.37 nfstype  
3.8.38 RepChar  
3.8.39 Repository  
3.8.40 Schedule  
3.8.41 SecureInput  
3.8.42 SensibleCount  
3.8.43 SensibleSize  
3.8.44 ShowActions  
3.8.45 site/faculty  
3.8.46 SplayTime  
3.8.47 Split  
3.8.48 SpoolDirectories  
3.8.49 suspiciousnames  
3.8.50 sysadm  
3.8.51 Syslog  
3.8.52 timezone  
3.8.53 TimeOut  
3.8.54 Verbose  
3.8.55 Warnings  
3.8.56 WarnNonUserFiles  
3.8.57 WarnNonOwnerFiles  
3.8.58 WarnNonUserMail  
3.8.59 WarnNonOwnerMail  


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003