File: cfengine.conf

package info (click to toggle)
cfengine 1.4.9-3
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 3,540 kB
  • ctags: 1,861
  • sloc: ansic: 25,408; sh: 1,708; perl: 1,088; lex: 690; makefile: 435; lisp: 182; yacc: 101; csh: 24
file content (67 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#! /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
		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


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: