summaryrefslogtreecommitdiff
path: root/cfengine/cf.generic
diff options
context:
space:
mode:
Diffstat (limited to 'cfengine/cf.generic')
-rw-r--r--cfengine/cf.generic128
1 files changed, 128 insertions, 0 deletions
diff --git a/cfengine/cf.generic b/cfengine/cf.generic
new file mode 100644
index 0000000..6315098
--- /dev/null
+++ b/cfengine/cf.generic
@@ -0,0 +1,128 @@
+##############################################################
+#
+# cf.main
+#
+# This file contains generic config stuff
+#
+#################################################################
+
+###
+#
+# BEGIN cf.main
+#
+###
+
+control:
+
+ Access = ( root ) # Only root should run this
+
+ timezone = ( MET CET )
+
+ Repository = ( /var/backups/cfengine )
+
+ OutputPrefix = ( "cf:$(host)" )
+
+ netmask = ( 255.255.255.0 )
+
+# IfElapsed = ( 15 ) # mins
+ IfElapsed = ( 1 ) # mins
+ ExpireAfter = ( 240 ) # 4 timer
+ SplayTime = ( 1 ) # 1 minute
+
+ SensibleSize = ( 1000 )
+ SensibleCount = ( 2 )
+ EditfileSize = ( 40000 )
+
+ MountPattern = ( / )
+ HomePattern = ( home* )
+
+# 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 )
+
+ CheckAlias = ( "/usr/bin/test" )
+
+ actionsequence = (
+ checktimezone
+ editfiles
+ directories
+ copy
+ tidy
+ shellcommands
+ links
+ processes
+ )
+
+broadcast:
+ ones
+
+tidy:
+ /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
+
+links:
+ /dev/core -> /proc/kcore
+
+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*
+ .ICE*
+ .font*
+ .gnomeicu*
+ .sawfish*
+ darxsock.*
+ mcop*
+ orbit*
+ ssh*
+ .Media*
+
+#####################################################################
+
+disable:
+
+ /etc/hosts.equiv
+# /etc/nologin
+ /usr/lib/sendmail.fc
+
+###
+#
+# END cf.main
+#
+###