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 ([EMAIL PROTECTED])
      --------------------                      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
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to