This is cfengine-Reference.info, produced by makeinfo version 4.2 from
cfengine-Reference.texinfo.

INFO-DIR-SECTION System Utilities
START-INFO-DIR-ENTRY
* cfengine Reference: (cfengine-Reference.info).
                        Cfengine is a language based tool specifically
                        designed for configuring and maintaining BSD
                        and System-5-like operating systems attached
                        to a TCP/IP network.
END-INFO-DIR-ENTRY


File: cfengine-Reference.info,  Node: cf.solaris,  Next: cf.linux,  Prev: cf.users,  Up: Example configuration file

cf.solaris
==========

     #################################################################
     #
     # cf.solaris - for iu.hioslo.no
     #
     # This file contains Solaris specific patches
     #
     #################################################################
     
     ###
     #
     # BEGIN cf.solaris
     #
     ###
     
     directories:
     
          #
          # httpd/netscape want this to exist for some bizarre reason
          #
     
           /usr/lib/X11/nls
     
     ################################################################
     
     tidy:
     
          /var/log  pattern=syslog.* age=0
     
        MailHub::
     
          /var/mail pattern=lp       age=0
     
     #################################################################
     
     files:
     
       #
       # If this doesn't exist fork will not work and the
       # system will not even be able to run the /etc/rc
       # scripts at boottime
       #
     
       /etc/system     o=root g=root m=644 action=touch
     
       /var/log/syslog o=root        m=666 action=touch
     
     #############################################################
     
     copy:
     
        #
        # Some standard setup files, can't link because
        # machine won't boot if their not on / partition.
        #
     
        /local/bin/tcsh dest=/bin/tcsh mode=755
     
        /local/iu/etc/nsswitch.standalone dest=/etc/nsswitch.conf
     
       #
       # Our named server uses a newer BIND
       # Put this here so that it will be preserved under
       # Solaris reinstallation
       #
     
       NameServers::
     
        /local/iu/sbin/in.named         dest=/usr/sbin/in.named         mode=555
        /local/iu/sbin/in.named.reload  dest=/usr/sbin/in.named.reload  mode=555
        /local/iu/sbin/in.named.restart dest=/usr/sbin/in.named.restart mode=555
        /local/iu/sbin/in.ndc           dest=/usr/sbin/in.ndc           mode=555
        /local/iu/sbin/named-xfer       dest=/usr/sbin/named-xfer       mode=555
        /local/iu/lib/nslookup.help     dest=/usr/lib/nslookup.help     mode=444
     
       any::
        /local/iu/lib/libresolv.a        dest=/usr/lib/libresolv.a      mode=444
        /local/iu/lib/libresolv.so.2     dest=/usr/lib/libresolv.so.2   mode=444
        /local/bin/nslookup              dest=/usr/sbin/nslookup        mode=444
     
     ##############################################################
     
     editfiles:
     
           { /etc/netmasks
     
           AppendIfNoSuchLine "128.39  255.255.255.0"
           }
     
           { /etc/defaultrouter
     
           AppendIfNoSuchLine "128.39.89.1"
           }
     
           { /usr/openwin/lib/app-defaults/XConsole
     
           AppendIfNoSuchLine "XConsole.autoRaise: on"
           }
     
        #
        # CERT security patch for vold vulnerability
        #
     
        { /etc/rmmount.conf
     
        HashCommentLinesContaining "action cdrom"
        HashCommentLinesContaining "action floppy"
        }
     
     ##############################################################
     
     disable:
     
         /etc/.login  type=file
         /etc/aliases
     
        #
        # These files are ENORMOUS, don't let them fill the disk
        #
     
        Wednesday::
     
           /var/lp/logs/lpsched rotate=empty
     
           /var/adm/wtmpx       rotate=empty
           /var/adm/wtmp        rotate=empty
     
     ##############################################################
     
     files:
     
         /etc/passwd        m=0644 o=root g=other action=fixplain
         /etc/shadow        m=0600 o=root g=other action=fixplain
         /etc/defaultrouter m=0644 o=root g=other action=touch
         /var/adm/wtmpx     m=0664 o=adm  g=adm   action=touch
         /var/adm/wtmp      m=0644 o=root g=adm   action=touch
         /var/adm/utmp      m=0644 o=root g=adm   action=fixplain
         /var/adm/utmpx     m=0664 o=adm  g=adm   action=fixplain
     
         /tmp m=1777                              action=fixdirs
     
     ##############################################################
     
     disable:
     
        #
        # CERT security patch
        #
     
        /usr/openwin/bin/kcms_calibrate
        /usr/openwin/bin/kcms_configure
        /usr/bin/admintool
     
     ################################################################
     
     shellcommands:
     
        AllBinaryServers.Saturday.longjob.Hr00::
     
           #
           # Make sure the man -k / apropos data are up to date
           #
     
           "/usr/bin/catman  -M /local/man"
           "/usr/bin/catman  -M /local/X11R5/man"
           "/usr/bin/catman  -M /usr/man"
           "/usr/bin/catman  -M /local/gnu/man"
           "/usr/bin/catman  -M /usr/openwin/share/man"
           "/usr/bin/catman  -M /local/X11R5/man"
           "/usr/bin/catman  -M /usr/share/man"
     
     ################################################################
     
     editfiles:
     
     
           #
           # A painless way to add an rc.local script to the rc files
           # under Solaris without having to fight though inittab
           #
     
           { /etc/rc3.d/S15nfs.server
     
           AppendIfNoSuchLine "sh /local/iu/etc/rc.local"
           }
     
           #
           # umask defined when inetd starts is inherited by all subprocesses
           # including ftpd which saves with mode 666 (!) unless we do this
           #
     
           { /etc/rc2.d/S72inetsvc
     
           PrependIfNoSuchLine "umask 022"
           }
     
     
     ###
     #
     # END cf.solaris
     #
     ###


File: cfengine-Reference.info,  Node: cf.linux,  Next: cf.freebsd,  Prev: cf.solaris,  Up: Example configuration file

cf.linux
========

     #################################################################
     #
     # cf.linux - for iu.hioslo.no
     #
     # This file contains debian linux specific patches
     #
     #################################################################
     
     ###
     #
     # BEGIN cf.linux
     #
     ###
     
     files:
     
           /etc/printcap m=644 o=root action=fixplain
     
          #
          # Cert advisories
          #
     
           /bin/mount         m=755 o=root action=fixall
           /bin/umount        m=755 o=root action=fixall
     
     #######################################################################
     
       disable:
     
          #
          # Cert advisories
          #
     
           /sbin/dip-3.3.7n
     
     ########################################################################
     
     links:
     
         /local/bin/tcsh   ->  /bin/tcsh
     
         /local/lib/mail   ->  /$(site)/$(main_server)/local/lib/mail
     
     ########################################################################
     
     editfiles:
     
       #
       # Samba default mode needs to be set...
       #
     
        { /etc/smb.conf
     
        ReplaceAll "700" With "644"
        }
     
       #
       # Linux date is very stupid and needs a very careful
       # TZ definition, otherwise it loses
       #
     
        { /etc/csh.cshrc
     
        AppendIfNoSuchLine "setenv TZ 'MET-1MET DST-2,M3.5.0/2,M10.5.0/3'"
        }
     
       #
       # resolv+ ordering
       #
     
        { /etc/host.conf
     
        PrependIfNoSuchLine "order bind"
        }
     
     
       #
       # Should have been configured already (!)
       #
     
        { /etc/ld.so.conf
     
        AppendIfNoSuchLine "/usr/X11R6/lib"
        }
     
       #
       # Kill annoying messages
       #
     
        { /etc/cron.daily/standard
     
        HashCommentLinesContaining "security"
        }
     
     #########################################################################
     
     shellcommands:
     
       Hr00::
     
          #
          # Find/locate database
          #
     
          "/usr/bin/updatedb"
     
     ###
     #
     # END cf.linux
     #
     ###


File: cfengine-Reference.info,  Node: cf.freebsd,  Next: cfservd.conf,  Prev: cf.linux,  Up: Example configuration file

cf.freebsd / cf.netbsd
======================

   FreeBSD, OpenBSD and NetBSD are sufficiently similar to have a single
file for all.

     #################################################################
     #
     # cf.bsd - for iu.hioslo.no
     #
     # This file contains bsd specific patches
     #
     #################################################################
     
     ###
     #
     # BEGIN cf.bsd
     #
     ###
     
     links:
     
         /usr/spool        ->  /var/spool
         /local/bin/tcsh   ->  /bin/tcsh
         /local/bin/perl   ->  /usr/bin/perl
         /usr/lib/sendmail ->  /usr/sbin/sendmail
     
     #################################################################
     
     files:
     
        /usr/tmp mode=1777 owner=root action=fixall
     
     #################################################################
     
     editfiles:
     
        #
        # Comment out all lines to shut up this annoying cfengine-like
        # script, which sends mail every day!!!
        #
     
        { /etc/crontab
     
        HashCommentLinesContaining "daily"
        HashCommentLinesContaining "weekly"
        HashCommentLinesContaining "monthly"
        }
     
     #################################################################
     
     copy:
     
           $(masterfiles)/etc/printcap.client      dest=/etc/printcap mode=0644
     
     #########################################################################
     
     shellcommands:
     
       Hr00::
     
         "/usr/libexec/locate.updatedb"
         "/usr/bin/makewhatis /usr/share/man:/usr/X11R6/man"
     
     ###
     #
     # END cf.bsd
     #
     ###


File: cfengine-Reference.info,  Node: cfservd.conf,  Prev: cf.freebsd,  Up: Example configuration file

cfservd.conf
============

     #########################################################
     #
     # This is a cfservd config file
     #
     #########################################################
     
      #
      # Could import cf.groups here and use a structure like
      # in cfengine.conf, cf.main, cf.groups
      #
     
     control:
     
       public = ( /usr/local/publicfiles )
     
       almost_public = ( /usr/local/almostpublicfiles )
     
       cfrunCommand = ( /iu/nexus/ud/mark/comp/Tests/cfrun-command )
     
       MaxConnections = ( 10 )
     
     #########################################################
     
     admit:   # or grant:
     
          $(public) *
     
          $(almost_public) *.iu.hioslo.no *.gnu.ai.mit.edu
     
          /etc/passwd *.iu.hioslo.no
     
          #
          # Who can exec cfengine remotely?
          #
     
          $(cfrunCommand) *.iu.hioslo.no
     
     #########################################################
     
     deny:
     
          $(public)/special *.moneyworld.com


File: cfengine-Reference.info,  Node: Variable Index,  Next: Concept Index,  Prev: Example configuration file,  Up: Top

Variable Index
**************

* Menu:

* !:                                     Cfengine classes.
* $(arch):                               Special variables.
* $(binserver):                          Special variables.
* $(class):                              Special variables.
* $(colon):                              Special variables.
* $(cr):                                 Special variables.
* $(date):                               Special variables.
* $(dblquote):                           Special variables.
* $(dollar):                             Special variables.
* $(domain):                             Special variables.
* $(faculty):                            Special variables.
* $(fqhost):                             Special variables.
* $(host):                               Special variables.
* $(ipaddress):                          Special variables.
* $(lf):                                 Special variables.
* $(n):                                  Special variables.
* $(quote):                              Special variables.
* $(site):                               Special variables.
* $(spc):                                Special variables.
* $(sysadm):                             Special variables.
* $(tab):                                Special variables.
* $(timezone):                           Special variables.
* $(version):                            Special variables.
* $(year):                               Special variables.
* ${EmailMaxLines}:                      Special variables.
* +:                                     groups.
* -D option <1>:                         Cfengine classes.
* -D option:                             addclasses.
* -l <1>:                                Syntax.
* -l:                                    tidy.
* -L:                                    Single links.
* -N option <1>:                         Cfengine classes.
* -N option:                             addclasses.
* -x option:                             cf.preconf bootstrap file.
* .cfengine.rm:                          tidy.
* /etc/host.conf:                        cf.preconf bootstrap file.
* /var/cfengine/output:                  Cfexecd reference.
* a= <1>:                                tidy.
* a=:                                    Syntax.
* AccessedBefore():                      Evaluated classes and special functions.
* action:                                Syntax.
* actionsequence <1>:                    actionsequence.
* actionsequence:                        control.
* AddClasses:                            addclasses.
* AddInstallable:                        addinstallable.
* addmounts:                             actionsequence.
* age:                                   tidy.
* alerts:                                alerts.
* AllowUsers:                            AllowUsers.
* backup=:                               copy.
* BindToInterface <1>:                   BindToInterface.
* BindToInterface:                       BindToInterface(cfagent).
* binserver <1>:                         Single links.
* binserver:                             Link Children.
* binservers:                            binservers.
* broadcast:                             broadcast.
* bymatch:                               processes.
* cf.preconf:                            cf.preconf bootstrap file.
* CFALLCLASSES <1>:                      Cfagent Runtime Options.
* CFALLCLASSES:                          Special variables.
* cfrc:                                  cfrc resource file.
* ChangedBefore():                       Evaluated classes and special functions.
* ChecksumDatabase:                      ChecksumDatabase.
* ChecksumPurge:                         ChecksumPurge.
* ChecksumUpdates:                       ChecksumUpdates.
* checktimezone:                         actionsequence.
* childlinks:                            actionsequence.
* cmp=:                                  packages.
* control:                               control.
* create:                                create.
* directories:                           actionsequence.
* disable <1>:                           disable.
* disable:                               actionsequence.
* domain <1>:                            domain.
* domain:                                control.
* DryRun:                                dryrun.
* editbinaryfilesize:                    editbinaryfilesize.
* editfiles:                             actionsequence.
* editfilesize <1>:                      control.
* editfilesize:                          editfilesize.
* EmailMaxLines:                         Cfexecd reference.
* empty:                                 disable.
* EmptyResolvConf:                       emptyresolvconf.
* Exclamation:                           exclamation.
* exclude=:                              Syntax.
* exec:                                  Setting variables with functions.
* FileExtensions:                        fileextension.
* files <1>:                             actionsequence.
* files:                                 files.
* filter:                                filters.
* force= <1>:                            copy.
* force=:                                disks.
* freespace= <1>:                        required.
* freespace=:                            disks.
* g=:                                    Syntax.
* group:                                 Syntax.
* groups:                                groups.
* home:                                  Syntax.
* homepattern:                           mountables.
* HomePattern:                           homepattern.
* homeservers:                           homeservers.
* import:                                import.
* include=:                              Syntax.
* interface configuration:               interfaces.
* InterfaceName:                         interfacename.
* IsDir():                               Evaluated classes and special functions.
* IsLink():                              Evaluated classes and special functions.
* IsNewerThan():                         Evaluated classes and special functions.
* IsPlain():                             Evaluated classes and special functions.
* l=:                                    Syntax.
* LastSeen:                              lastseen.
* LastSeenExpireAfter:                   lastseenexpireafter.
* LD_LIBRARY_PATH:                       control.
* link:                                  Syntax.
* linkchildren <1>:                      Link Children.
* linkchildren:                          Files linkchildren.
* links <1>:                             links.
* links:                                 actionsequence.
* m=:                                    Syntax.
* mailcheck <1>:                         actionsequence.
* mailcheck:                             mailserver.
* mailserver:                            mailserver.
* MaxCfengines:                          Special variables.
* methods:                               methods.
* miscmounts:                            miscmounts.
* mode:                                  Syntax.
* module:                                actionsequence.
* moduledirectory:                       moduledirectory.
* mountables <1>:                        homeservers.
* mountables:                            mountables.
* mountall:                              actionsequence.
* mountinfo:                             actionsequence.
* mountpattern:                          mountpattern.
* netconfig:                             actionsequence.
* netmask <1>:                           control.
* netmask:                               netmask.
* nfstype <1>:                           control.
* nfstype:                               nfstype.
* noabspath:                             shellcommands.
* o=:                                    Syntax.
* ones:                                  broadcast.
* OutputPrefix:                          Special variables.
* owner:                                 Syntax.
* p=:                                    tidy.
* packages:                              actionsequence.
* pattern:                               tidy.
* pkgmgr=:                               packages.
* processes:                             actionsequence.
* purge=:                                copy.
* r= <1>:                                tidy.
* r=:                                    Syntax.
* Randomizing strategy:                  strategies.
* recurse <1>:                           tidy.
* recurse:                               Syntax.
* RepChar:                               repchar.
* repchar:                               Special variables.
* required:                              actionsequence.
* resolve <1>:                           resolve.
* resolve:                               actionsequence.
* Restricting access:                    access.
* ReturnsZero():                         Evaluated classes and special functions.
* rotate=:                               disable.
* scanarrivals=:                         disks.
* scheduling:                            schedule.
* SecureInput:                           secureinput.
* SensibleCount:                         sensiblecount.
* sensiblecount:                         control.
* SensibleSize:                          sensiblesize.
* sensiblesize:                          control.
* shellcommands:                         actionsequence.
* ShowActions:                           showactions.
* signal:                                processes.
* singlelinks:                           actionsequence.
* site <1>:                              site.
* site:                                  control.
* SkipVerify:                            root=.
* smtpserver:                            Cfexecd reference.
* split <1>:                             Special variables.
* split <2>:                             split.
* split:                                 Iteration over lists.
* SpoolDirectories:                      spooldirectories.
* SuspiciousNames:                       suspiciousnames.
* sysadm <1>:                            sysadm.
* sysadm <2>:                            control.
* sysadm:                                Cfexecd reference.
* tidy <1>:                              actionsequence.
* tidy:                                  tidy.
* timezone:                              control.
* touch:                                 touch.
* truncate:                              disable.
* type= <1>:                             disable.
* type=:                                 Hard links.
* underscoreclasses:                     Special variables.
* unmount <1>:                           unmount.
* unmount:                               actionsequence.
* version=:                              packages.
* Wildcards:                             tidy.
* zeroes:                                broadcast.
* zeros:                                 broadcast.


File: cfengine-Reference.info,  Node: Concept Index,  Next: FAQ Index,  Prev: Variable Index,  Up: Top

Concept Index
*************

* Menu:

* !:                                     Cfengine classes.
* --dry-run option:                      shellcommands.
* -D option:                             addclasses.
* -l option:                             Syntax.
* -L option:                             Single links.
* -l option:                             tidy.
* -T in cfrun.:                          cfrun.
* -x option:                             cf.preconf bootstrap file.
* .cfdisabled:                           disable.
* .cfengine.rm:                          tidy.
* .cfnew files:                          copy.
* .cfsaved files:                        Multiple Links.
* .X11 directory:                        ignore.
* /etc/host.conf:                        cf.preconf bootstrap file.
* /etc/hosts.equiv:                      disable.
* /var/cfengine/output:                  Cfexecd reference.
* <:                                     Evaluated classes and special functions.
* >:                                     Evaluated classes and special functions.
* Abort cfengine after cf.preconf:       cf.preconf bootstrap file.
* Absolute links:                        Single links.
* Access control:                        access.
* Access control lists:                  acl.
* ACL key:                               ACEs.
* ACLs:                                  acl.
* action sequence:                       actionsequence.
* Adding defined classes:                addclasses.
* Adding new classes:                    cfrc resource file.
* AFS:                                   nfstype.
* Alerts:                                alerts.
* allclasses variable:                   shellcommands.
* AllowConnectionsFrom variable:         AllowConnectionsFrom.
* AllowUsers in cfservd:                 AllowUsers.
* Andrew filesystem:                     nfstype.
* AppendIfNoSuchLinesFromFile:           editfiles.
* Array example:                         Setting variables with functions.
* Array from file:                       Setting variables with functions.
* Associative arrays.:                   Setting variables with functions.
* atime tidies:                          tidy.
* AutoCreate:                            editfiles.
* AutoExecInterval variable:             AutoExecInterval.
* automounter:                           editfiles.
* awk, editing:                          editfiles.
* Backup:                                editfiles.
* Backup of files in copy:               copy.
* BeginGroupIfDefined:                   editfiles.
* BeginGroupIfFileExists:                editfiles.
* BeginGroupIfFileIsNewer:               editfiles.
* BeginGroupIfNotDefined:                editfiles.
* Binary servers and links <1>:          Single links.
* Binary servers and links:              Link Children.
* Binary servers, defining:              binservers.
* Binary servers, priority <1>:          Single links.
* Binary servers, priority:              binservers.
* Binding to one interface only <1>:     BindToInterface(cfagent).
* Binding to one interface only:         BindToInterface.
* Bootstrap file:                        cf.preconf bootstrap file.
* Broadcast address:                     broadcast.
* Broadcasts to the cfengine service.:   cfrun.
* Broken resolver:                       lastseen.
* Built-in functions:                    Setting variables with functions.
* Caching of reverse lookups:            root=.
* CatchAbort:                            editfiles.
* cf.groups:                             cf.groups.
* cf.main:                               cf.main.
* cf.motd:                               cf.motd.
* cf.preconf bootstrap file:             cf.preconf bootstrap file.
* cf.site <1>:                           cf.site.
* cf.site:                               cfservd.conf.
* cfagent.conf:                          cfagent.conf.
* CFALLCLASSES <1>:                      shellcommands.
* CFALLCLASSES:                          Special variables.
* cfenvd and key entropy:                Cfkey.
* cfexecd:                               Cfexecd reference.
* cfrc resource file:                    cfrc resource file.
* cfrun, limiting users on server:       AllowUsers.
* cfrunCommand variable:                 cfrunCommand.
* cfservd.conf file:                     Cfservd.conf and cfrun reference.
* cfservd.conf iteration:                Cfservd.conf and cfrun reference.
* Changing cfengine port:                Firewalls and NATs.
* Checking for installed packages:       packages.
* Checksum warning, turning off exclamation: exclamation.
* ChecksumDatabase:                      ChecksumDatabase.
* ChecksumDatabase variable:             ChecksumDatabase in cfservd.
* ChecksumPurge:                         ChecksumPurge.
* ChecksumUpdates:                       ChecksumUpdates.
* CIDR:                                  groups.
* Class data and scripts:                Special variables.
* Class decided by shell command:        groups.
* Class dependencies:                    groups.
* Class information, passing to scripts: shellcommands.
* classes <1>:                           Cfengine classes.
* classes <2>:                           groups.
* classes:                               classes.
* Classes, adding and defining:          addclasses.
* Classes, built-in functions:           Evaluated classes and special functions.
* Classes, compound:                     Cfengine classes.
* Classes, defining and undefining:      Cfengine classes.
* Classless IP addresses:                groups.
* Comparing file objects:                Evaluated classes and special functions.
* Compound classes:                      Cfengine classes.
* Contacting specific hosts with cfrun:  cfrun.
* control section:                       control.
* Controlling the size of log files:     disable.
* copy:                                  copy.
* Copy, exact filetree images:           copy.
* Copying files:                         copy.
* Creating files:                        create.
* ctime tidies:                          tidy.
* DCE key:                               DFS ACLs.
* Deadlock:                              cf.preconf bootstrap file.
* Deadlock zombie bug in restart:        processes.
* Debian Package Database Queries:       packages.
* Declaring classes:                     addinstallable.
* Decrementing line pointer in editfiles: editfiles.
* Defining a binary server:              binservers.
* Defining a home server:                homeservers.
* Defining a mail server:                mailserver.
* Defining a mountable:                  mountables.
* Defining before use:                   addinstallable.
* Defining classes <1>:                  addclasses.
* Defining classes <2>:                  classes.
* Defining classes:                      addclasses.
* Defining groups:                       groups.
* DeleteNonOwnerMail:                    deletenonownerfiles.
* DeleteNonUserFiles:                    deletenonownerfiles.
* DeleteNonUserMail DeleteNonUserFiles:  deletenonuserfiles.
* Deleting directories:                  tidy.
* Deleting files:                        tidy.
* Deleting stale links <1>:              Syntax.
* Deleting stale links:                  tidy.
* DenyBadClocks variable:                DenyBadClocks.
* DenyConnectionsFrom variable:          DenyConnectionsFrom.
* Dependencies:                          groups.
* Device boundaries:                     copy.
* Device boundaries and files:           Recursion.
* DFS:                                   nfstype.
* DHCP <1>:                              DynamicAddresses.
* DHCP:                                  actionsequence.
* Directories, deleting:                 tidy.
* Directories, hidden:                   fileextension.
* Directories, making:                   directories.
* Directory for cfengine modules:        moduledirectory.
* Directory permissions:                 Directory permissions.
* Disabling file types:                  disable.
* Disabling files:                       disable.
* disks actions:                         disks.
* DNS:                                   resolve.
* domain:                                domain.
* Domain name:                           netmask.
* Dots in hostnames:                     Cfengine classes.
* Double quotes:                         editfiles.
* DryRun:                                dryrun.
* Dual homed hosts:                      interfaces.
* Dynamic addresses:                     DynamicAddresses.
* DynamicAddresses variable:             DynamicAddresses.
* Emergency abort:                       cf.preconf bootstrap file.
* Empty files:                           tidy.
* Emptying old nameservers from /etc/resolv.conf: emptyresolvconf.
* Environment variable CFALLCLASSES:     Cfagent Runtime Options.
* Example configuration files:           Example configuration file.
* Exclamation marks, turning off:        exclamation.
* Excluding classes:                     addclasses.
* Excluding files from a file sweep:     Syntax.
* failover:                              copy.
* Field separator in editfiles:          editfiles.
* File images (copy):                    copy.
* File management:                       files.
* File sizes, specifying:                tidy.
* File tree images:                      copy.
* File types:                            Evaluated classes and special functions.
* Files, breaking up into several:       import.
* Files, checking permissions:           files.
* Files, home wildcard:                  home directive.
* Files, importing:                      import.
* Files, ownership:                      Owner and group wildcards.
* Files, recursion:                      Recursion.
* Files, setting owner:                  files.
* Files, syntax:                         Syntax.
* Force copying:                         copy.
* freespace= <1>:                        disks.
* freespace=:                            required.
* FriendStatus:                          alerts.
* Full disk warnings <1>:                required.
* Full disk warnings:                    disks.
* Fully qualified names:                 Cfengine classes.
* Functions, built-in:                   Setting variables with functions.
* Gaming stratgies:                      strategies.
* Group dependencies:                    groups.
* Group field, editing:                  editfiles.
* groups <1>:                            classes.
* groups:                                groups.
* Groups, defining:                      groups.
* Hanging processes:                     lastseen.
* Hard class name collision:             Special variables.
* Hardlinks:                             Hard links.
* Hashes of files <1>:                   Syntax.
* Hashes of files:                       ChecksumDatabase.
* home directive:                        home directive.
* Home directories, creating:            directories.
* Home path:                             homepattern.
* Home servers, defining:                homeservers.
* home wildcard:                         Syntax.
* Homepattern variable.:                 mountables.
* Host name gets truncated:              Cfengine classes.
* Hostname collision:                    Special variables.
* hostnamekeys:                          cfrun.
* HostnameKeys:                          Firewalls and NATs.
* Hung machine:                          cf.preconf bootstrap file.
* ignore command:                        ignore.
* Import files, variables in:            import.
* Importing files:                       import.
* include in cfrun:                      cfrun.
* Incrementing line pointer in editfiles: editfiles.
* Interface name, redefining by class:   interfacename.
* InterfaceName:                         interfacename.
* Internal classes, switching off:       Cfagent Runtime Options.
* Internet address:                      netmask.
* IP address:                            netmask.
* IsGreatThan:                           Evaluated classes and special functions.
* IsLessThan:                            Evaluated classes and special functions.
* Iterating over lists in shellcommands: shellcommands.
* Iteration in server rules:             Cfservd.conf and cfrun reference.
* Iteration over lists <1>:              Iteration over lists.
* Iteration over lists:                  split.
* Key entropy and cfenvd:                Cfkey.
* Key security of users:                 AllowUsers.
* Key, ACL:                              DFS ACLs.
* Kilobyte, filesize unit:               tidy.
* Last Seen database <1>:                alerts.
* Last Seen database:                    lastseenexpireafter.
* LastNode literal:                      directories.
* LastSeen:                              lastseen.
* Linkchildren <1>:                      Link Children.
* Linkchildren:                          Files linkchildren.
* Links and binary servers <1>:          Link Children.
* Links and binary servers:              Single links.
* Links, absolute:                       Single links.
* Links, deleting stale <1>:             tidy.
* Links, deleting stale:                 Syntax.
* Links, forcing for non-existent files: Single links.
* Links, making:                         links.
* Links, multiple:                       Multiple Links.
* Links, removing dead:                  Single links.
* Links, single:                         Single links.
* Links, traversing in searches <1>:     tidy.
* Links, traversing in searches:         Syntax.
* Local disk space, make use of:         Link Children.
* Log files, controlling the size of:    disable.
* Logical NOT:                           Cfengine classes.
* Mail server, defining:                 mailserver.
* Mailhost:                              Smtpserver.
* Mailing output:                        Cfexecd reference.
* Making directories:                    directories.
* Making links:                          links.
* Making paths:                          directories.
* Making use of local disk space:        Link Children.
* MaxConnections variable:               MaxConnections.
* Megabytes, filesize unit:              tidy.
* Merging files.:                        editfiles.
* Message digests <1>:                   ChecksumDatabase.
* Message digests:                       Syntax.
* Methods:                               methods.
* Methods, remote caution:               methods.
* Miscellaneous mount operations:        miscmounts.
* Module directory <1>:                  moduledirectory.
* Module directory:                      Evaluated classes and special functions.
* Modules executed immediately:          Evaluated classes and special functions.
* Modules, user defined:                 actionsequence.
* Monitoring other hosts:                alerts.
* Mount paths:                           mountpattern.
* Mountable resources, defining <1>:     mountables.
* Mountable resources, defining:         homeservers.
* Mounted filesystems:                   copy.
* Mounting filesystems.:                 miscmounts.
* mtime tidies:                          tidy.
* Multihomed hosts <1>:                  BindToInterface.
* Multihomed hosts:                      BindToInterface(cfagent).
* Multiple links:                        Multiple Links.
* Name collision:                        Special variables.
* NAT:                                   Firewalls and NATs.
* Negating classes:                      actionsequence.
* Negating entries from netgroups:       groups.
* Netgroups:                             groups.
* Netgroups, negating entries:           groups.
* Netmask:                               netmask.
* netmask:                               netmask.
* Network Address Translation:           SkipIdentify.
* Network address translator:            Firewalls and NATs.
* Network Address Translators:           SkipVerify.
* Network interfaces, several:           interfaces.
* New systems, support for:              cfrc resource file.
* nfs:                                   nfstype.
* NFS filesystems and disk checking:     disks.
* NFS mount model and automounter:       editfiles.
* nfstype:                               nfstype.
* NIS, netgroup support:                 groups.
* no_default_route class:                defaultroute.
* noabspath:                             shellcommands.
* NOT operator:                          Cfengine classes.
* NT, ACL:                               NT ACLs.
* ones:                                  broadcast.
* Operator ordering:                     Cfengine classes.
* Output logs:                           Cfexecd reference.
* Ownership of files:                    Owner and group wildcards.
* packages:                              packages.
* Password file, editing:                editfiles.
* Path to home directories:              homepattern.
* Path to mounted filesystems:           mountpattern.
* Paths, making:                         directories.
* Pattern matching in file sweeps:       Syntax.
* pattern= and filtering:                tidy.
* Peer to peer methods:                  Setting variables with functions.
* Peer watching (FriendStatus):          alerts.
* Percentage disk space:                 required.
* Permissions, directories:              Directory permissions.
* Port, connecting to different:         Firewalls and NATs.
* PrepModule:                            Evaluated classes and special functions.
* Preserving file times in copy:         copy.
* Previewing shellcommands:              shellcommands.
* Private modules:                       methods.
* PRNG not seeded:                       Cfkey.
* Processes, 0 to 3:                     processes.
* Processes, checking existence of:      processes.
* Processes, counting:                   processes.
* Processes, signalling:                 processes.
* Public keys:                           copy.
* Purge, excluding files:                copy.
* Quoted strings:                        editfiles.
* Random numbers:                        Setting variables with functions.
* RandomInt() function:                  control.
* Read array from file:                  Setting variables with functions.
* Read array from table:                 Setting variables with functions.
* ReadArray:                             Setting variables with functions.
* ReadFile:                              Setting variables with functions.
* ReadFile() function:                   control.
* ReadTable:                             Setting variables with functions.
* Recursion in files:                    Recursion.
* Redefinition of macros:                AllowRedefinitionOf.
* Relative links:                        Single links.
* Removing directories:                  tidy.
* Removing entries from netgroups:       groups.
* Renaming files:                        disable.
* Replacing file by link:                disable.
* Repository filenames, changing:        repchar.
* resolv.conf:                           resolve.
* Resolver configuration:                resolve.
* Resource file:                         cfrc resource file.
* Restart zombie deadlock bug:           processes.
* Restricting the size of binary files to be edited: editbinaryfilesize.
* Restricting the size of files to be edited: editfilesize.
* Reverse lookup and SkipVerify:         root=.
* rmdirs:                                tidy.
* Rotating log files:                    disable.
* RPM Database Queries:                  packages.
* Running cfengine from a single master host: cfrun.
* Running cfrun:                         cfrun.
* scanarrivals=:                         disks.
* scheduling:                            schedule.
* Scripts and class information:         shellcommands.
* Scripts, passing classes to:           Special variables.
* Search patterns in files:              Syntax.
* Searching for home directories:        homepattern.
* Searching, advanced:                   filters.
* Secure input:                          secureinput.
* Security risk:                         SkipVerify.
* Security, link races and travlinks:    tidy.
* sed, editing:                          editfiles.
* Selecting files in searches:           filters.
* SelectPartitionGroup:                  Setting variables with functions.
* SelectPartitionLeader:                 Setting variables with functions.
* Sensible file sizes:                   sensiblesize.
* Sensible limits on files in a directory: sensiblecount.
* SetState():                            alerts.
* Setting classes based on non-local disks: disks.
* Setting uid on restarted processes:    processes.
* Several files:                         import.
* Shell command to decide class:         groups.
* ShowState():                           alerts.
* Single links:                          Single links.
* Single quotes:                         editfiles.
* site:                                  site.
* size field in disable:                 disable.
* SkipIdentify:                          SkipIdentify.
* SkipVerify and public-private keys:    root=.
* smtpserver:                            Smtpserver.
* Specifying file sizes:                 tidy.
* SplayTime in cfrun:                    cfrun.
* split <1>:                             split.
* split:                                 Iteration over lists.
* SplitOn:                               editfiles.
* SpoolDirectories:                      spooldirectories.
* Strategy, random:                      strategies.
* Subnet mask:                           netmask.
* Sun Package Database Queries:          packages.
* Support for new systems:               cfrc resource file.
* suspiciousnames:                       suspiciousnames.
* Switching off backup in copy:          copy.
* Switching off built-in classes:        Cfagent Runtime Options.
* Symbolic links, absolute:              Single links.
* Symbolic links, relative:              Single links.
* sysadm:                                sysadm.
* SysLog():                              alerts.
* Testing files:                         Evaluated classes and special functions.
* Tidy by ctime, mtime, atime:           tidy.
* Tidy log files for users:              LogTidyHomeFiles.
* Tidying empty files:                   tidy.
* Tidying files:                         tidy.
* timeout= in shellcommands:             shellcommands.
* Timeouts during iterations:            shellcommands.
* Too many open files error:             Too many open files.
* Touching files:                        touch.
* travlinks:                             tidy.
* Tree copying, exact:                   copy.
* Tripwire functionality <1>:            ChecksumDatabase.
* Tripwire functionality:                Syntax.
* Truncating log files:                  disable.
* Trust, key exchange with cfrun:        cfrun.
* Trusted hosts:                         copy.
* TrustKeysFrom variable:                TrustKeysFrom.
* umask <1>:                             editfiles.
* umask <2>:                             shellcommands.
* umask:                                 processes.
* underscoreclasses:                     Special variables.
* Unmounting filesystems:                unmount.
* UnsetState():                          alerts.
* update.conf:                           Work directory.
* Variables in import files:             import.
* Variables, setting to result of a shell command: Setting variables with functions.
* Warning about full disks <1>:          disks.
* Warning about full disks:              required.
* Warning remote methods:                methods.
* Wildcard home:                         Syntax.
* Wildcards in homepattern:              homepattern.
* WWW server logs:                       disable.
* xdev <1>:                              Syntax.
* xdev <2>:                              tidy.
* xdev:                                  copy.
* xdev (File system boundaries):         Recursion.
* zeros:                                 broadcast.


File: cfengine-Reference.info,  Node: FAQ Index,  Prev: Concept Index,  Up: Top

FAQ Index
*********

* Menu:

* Absolute path and shellcommands:       shellcommands.
* Brackets (parentheses) in classes.:    Cfengine classes.
* Can't stat error when remote copying:  DenyBadClocks.
* Changing repository name conventions:  repchar.
* Checksums take too long to compute.:   ChecksumDatabase in cfservd.
* copy doesn't always copy files:        copy.
* ctime copy doesn't always copy files:  copy.
* Denial of service attacks:             AllowConnectionsFrom.
* Hanging commands, timeouts:            shellcommands.
* Hanging connections attacks:           AllowConnectionsFrom.
* Hey! Cannot stat file error:           copy.
* How can I avoid hanging shellcommands?: shellcommands.
* How can I set a timeout for a shell command?: shellcommands.
* How to create files while editing:     editfiles.
* Iterating over lists <1>:              Iteration over lists.
* Iterating over lists:                  split.
* locahost in copy:                      copy.
* MD5 checksums take a long time to compute.: ChecksumDatabase in cfservd.
* Parentheses in classes.:               Cfengine classes.
* Remote copy problems, can't stat:      copy.
* Shellcommands must start with absolute path: shellcommands.
* Too many open files error:             Too many open files.


