pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/cfengine2 Remove example crontab entry from F...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd3781bb1874
branches:  trunk
changeset: 481002:bd3781bb1874
user:      ben <ben%pkgsrc.org@localhost>
date:      Thu Sep 23 23:16:33 2004 +0000

description:
Remove example crontab entry from FILESDIR and add it to MESSAGE, the more
customary place.

diffstat:

 sysutils/cfengine2/MESSAGE            |  8 +++++---
 sysutils/cfengine2/Makefile           |  4 +---
 sysutils/cfengine2/PLIST              |  3 +--
 sysutils/cfengine2/files/cfexecd.cron |  4 ----
 4 files changed, 7 insertions(+), 12 deletions(-)

diffs (66 lines):

diff -r b3bfa9421ee7 -r bd3781bb1874 sysutils/cfengine2/MESSAGE
--- a/sysutils/cfengine2/MESSAGE        Thu Sep 23 22:57:28 2004 +0000
+++ b/sysutils/cfengine2/MESSAGE        Thu Sep 23 23:16:33 2004 +0000
@@ -1,8 +1,7 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1 2004/08/18 23:03:44 ben Exp $
+$NetBSD: MESSAGE,v 1.2 2004/09/23 23:16:33 ben Exp $
 
 To set up cfengine, install sysutils/cfengine2-doc and see:
-
 ${PREFIX}/share/doc/html/cfengine/cfengine-Tutorial.html
 
 At a minimum, you will need:
@@ -20,5 +19,8 @@
    AppendIfNoSuchLine "cfengine 5308/tcp # CFengine"
  }
 
-
+3. Once you are happy using cfengine, you will want it to
+   run least once per hour.  This is easily achieved by
+   adding the following line to the root crontab:
+     7,37 * * * * ${PREFIX}/sbin/cfexecd -F
 ===========================================================================
diff -r b3bfa9421ee7 -r bd3781bb1874 sysutils/cfengine2/Makefile
--- a/sysutils/cfengine2/Makefile       Thu Sep 23 22:57:28 2004 +0000
+++ b/sysutils/cfengine2/Makefile       Thu Sep 23 23:16:33 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/09/23 22:57:28 ben Exp $
+# $NetBSD: Makefile,v 1.11 2004/09/23 23:16:33 ben Exp $
 #
 
 .include "../../sysutils/cfengine2/Makefile.common"
@@ -27,8 +27,6 @@
        ${INSTALL_MAN} ${WRKSRC}/doc/*.8 ${PREFIX}/man/man8
        ${INSTALL_DATA} ${WRKSRC}/inputs/*.example \
                ${PREFIX}/share/examples/cfengine
-       ${INSTALL_DATA} ${FILESDIR}/cfexecd.cron \
-               ${PREFIX}/share/examples/cfengine
        ${INSTALL_DATA_DIR} /var/cfengine/inputs
 
 .include "../../mk/pthread.buildlink3.mk"
diff -r b3bfa9421ee7 -r bd3781bb1874 sysutils/cfengine2/PLIST
--- a/sysutils/cfengine2/PLIST  Thu Sep 23 22:57:28 2004 +0000
+++ b/sysutils/cfengine2/PLIST  Thu Sep 23 23:16:33 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2004/09/23 22:57:28 ben Exp $
+@comment $NetBSD: PLIST,v 1.6 2004/09/23 23:16:33 ben Exp $
 man/man8/cfagent.8
 man/man8/cfengine.8
 man/man8/cfenvd.8
@@ -31,7 +31,6 @@
 share/examples/cfengine/cf.users.example
 share/examples/cfengine/cfagent.conf-advanced.example
 share/examples/cfengine/cfagent.conf.example
-share/examples/cfengine/cfexecd.cron
 share/examples/cfengine/cfrc.example
 share/examples/cfengine/cfrun.hosts.example
 share/examples/cfengine/cfservd.conf.example
diff -r b3bfa9421ee7 -r bd3781bb1874 sysutils/cfengine2/files/cfexecd.cron
--- a/sysutils/cfengine2/files/cfexecd.cron     Thu Sep 23 22:57:28 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-# $NetBSD: cfexecd.cron,v 1.1 2004/09/23 22:57:28 ben Exp $
-#
-# Cfengine
-7,37 * * * * * /usr/pkg/sbin/cfexecd -F



Home | Main Index | Thread Index | Old Index