Sophie

Sophie

distrib > Mandriva > 8.1 > i586 > by-pkgid > dc430da5aacc0cead97c2e2ef0c82561 > files > 21

cfengine-1.6.3-4mdk.i586.rpm

##############################################################
#
# cf.main - for iu.hioslo.no
#
# This file contains generic config stuff
#
#################################################################

###
#
# BEGIN cf.main
#
###

control: 

   Access    = ( root )        # Only root should run this

   site      = ( iu )
   domain    = ( iu.hioslo.no )
   sysadm    = ( drift@iu.hioslo.no ) 

   timezone  = ( MET CET )

   Repository = ( /var/spool/cfengine )

   #
   # Let's keep these in one place.
   #
   moduledirectory = ( /iu/nexus/local/gnu/lib/cfengine/modules )

   OutputPrefix = ( "cf:$(host)" )

   netmask   = ( 255.255.255.0 )

   nfstype   = ( nfs )

   IfElapsed   = ( 15 )  # mins
   ExpireAfter = ( 240 ) # 4 timer
   SplayTime   = ( 1 )   # 1 minute

   SensibleSize  = ( 1000 )
   SensibleCount = ( 2 )
   EditfileSize  = ( 20000 )

   MountPattern = ( /$(site)/$(host) )
   HomePattern  = ( u? ) 

   # Mail

# DeleteNonUserMail = ( true )
# DeleteNonOwnerMail = ( true )

   WarnNonOwnerMail = ( true )
   WarnNonUserMail = ( true )

   #
   # If we undefine this with cfengine -N longjob
   # then we switch off all jobs labelled with this class
   #

   AddClasses = ( longjob )

   #
   # Macros & constants are inherited downwards in imports
   # but are not passed up to parent files. Good idea to
   # define them all here
   #

   masterfiles = ( /iu/nexus/local/iu )
   main_server = ( nexus )
   cfbin       = ( /iu/nexus/local/gnu/lib/cfengine/bin )
   gnu         = ( /local/gnu )
   ftp         = ( /local/iu/ftp )
   nisslave    = ( dax )
   nisfiles    = ( /iu/nexus/local/iu/etc )


   # Command for a group defn. See cf.site

   nexus::

     CheckAlias = ( "/bin/test -f /iu/nexus/ua/robot/NewAliasData" )

   !nexus::

     CheckAlias = ( "/usr/bin/test" )

   #
   # The action sequence for daily (full) runs and
   # for hourly updates (called with -DHourly)
   #

   nexus.never::
      actionsequence = 
         (
         module:httpwatch.HTTPhighlimit.HTTPmediumlimit.HTTPlowlimit
         )

  waldo::
	actionsequence =
	(
	module:cfload.CPUmax.CPUhigh.CPUmedium.CPUlow.MEMmax.MEMhigh.MEMmedium.MEMlow
	)

   any::

      actionsequence = 
         (
         editfiles
         copy
         mountall
         mountinfo
         checktimezone
         resolve
         netconfig
         unmount
         shellcommands
         addmounts
         links.Prepare
         files.Prepare
         directories
         links.Rest
         mailcheck
         mountall
         required
         tidy
         disable
         editfiles
         files.Rest
         processes
         )


######################################################################

homeservers:

   nexus

binservers:

   solaris::                 nexus
   linux::                   waldo

mailserver:

   nexus:/var/mail

mountables:

         nexus:/iu/nexus/u1
         nexus:/iu/nexus/u2
         nexus:/iu/nexus/u3
         nexus:/iu/nexus/u4
         nexus:/iu/nexus/ua
         nexus:/iu/nexus/ud
         nexus:/iu/nexus/local
         dax:/iu/dax/local
	 waldo:/iu/waldo/local

unmount:

   /iu/nexus/u5
   /iu/nexus/u6
   /opt/Acrobat3
   /opt/AcroRead

miscmounts:

   linux||freebsd::   
	nexus:/iu/nexus/local /iu/nexus/local ro

unmount:

        /opt/NeWSprint

######################################################################

broadcast:

  ones

defaultroute:

   cadeler30-gw.uninett.no

######################################################################

resolve:

      "search uninett.no"    # last one searched
      "search hioslo.no"     # 2nd ..
      "search iu.hioslo.no"  # first one searched
      128.39.89.10    # nexus
      158.36.144.156  # dns.hioslo.no
      158.38.0.181    # nn.uninett.no


######################################################################

tidy: 

   #
   # Some global tidy-ups
   #

      /tmp/                    pat=*             r=inf     A=1
      /var/tmp                 pat=*             r=inf     A=2
      /                        pat=core          r=1       A=0
      /etc                     pat=core          r=1       A=0

######################################################################

ignore:                       # Don't check or tidy these directories

      /local/lib/gnu/emacs/lock/
      /local/tmp
      ftp
      projects
      /local/bin/top
      /local/lib/tex/fonts
      /local/iu/etc
      /local/etc
      /local/iu/httpd/conf
      /usr/tmp/locktelelogic
      /usr/tmp/lockIDE
      RootMailLog
      operator
      lock

      #
      # Emacs lock files etc
      #

      !*
      /local/lib/xemacs

      #
      # X11 keeps X server data in /tmp/.X11
      # better not delete this!
      #

      .X*
      .Media*

#####################################################################

disable:

   /etc/hosts.equiv
   /etc/nologin
   /usr/lib/sendmail.fc

control:
nexus::

   interfacename = ( hme0 )


###
#
# END cf.main
#
###