#! /usr/bin/cfengine -f

control:

	access			= ( root )

	domain			= ( mycompany.com )
	netmask			= ( 255.255.255.0 )
	timezone		= ( EST )
	mountpattern	= ( / )
	homepattern		= ( home* )
	sysadm			= ( root )

	editfilesize	= ( 4192 )

	adminfiles		= ( /etc/cfengine )
	repository		= ( /var/backups/cfengine )

	actionsequence = (
#		checktimezone
#		editfiles
#		copy
#		tidy
#		shellcommands
#		links
	)


broadcast:

	ones


links:

	linux::
	/dev/core	->	/proc/kcore


tidy:

	Monday::
	/ 		pattern=*..cfsaved	recurse=inf	age=7
	/		pattern=*~			recurse=inf age=7
	/		pattern=#*			recurse=inf age=7
	/ 		pattern=core		recurse=inf	age=1


shellcommands:



disable:

	/etc/hosts.equiv
	/etc/nologin


editfiles:

	{ /etc/init.d/boot
		SetCommentStart	"#"
		SetCommentEnd	""
		WarnIfNoLineMatching	'[#]*echo -n "Cleaning up /tmp... "'
		LocateLineMatching 		'^echo -n "Cleaning up /tmp... "'
		CommentToLineMatching	'echo "done."'
	}


# local variables:
# tab-width: 4
# end:
