cfengine question?
Hi,
Would some please show me what is wrong with the following
cfengine that is sent to my 'root' every day:
--8< -----------------------------------------------------------------------
cfengine:/etc/cfengine/cfengine.conf:53: parse error
cfengine::Execution terminated after parsing due to errors in program
--8< -----------------------------------------------------------------------
Here is my /etc/cfengine.cf:
--8< -----------------------------------------------------------------------
#! /usr/bin/cfengine -f
control:
access = ( root )
domain = ( mycompany.com )
netmask = ( 255.255.255.0 )
timezone = ( CDT )
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:
--8< -----------------------------------------------------------------------
Thanks!
--
-------------------- Timothy C. Phan (tphan@asl.dl.nec.com)
-------------------- NEC America, Inc. ASL
-------------------- 1525 Walnut Hill Ln. Irving, TX 75038
-------------------- tel: (214)-518-3437 fax: (214)-518-3499
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: