From fab8f071abd9cec3998fda4eeadb33d6e838a14b Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 23 Sep 2004 23:16:33 +0000 Subject: Remove example crontab entry from FILESDIR and add it to MESSAGE, the more customary place. --- 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(-) delete mode 100644 sysutils/cfengine2/files/cfexecd.cron (limited to 'sysutils/cfengine2') diff --git a/sysutils/cfengine2/MESSAGE b/sysutils/cfengine2/MESSAGE index b016f728240..cbf37d8ac45 100644 --- a/sysutils/cfengine2/MESSAGE +++ b/sysutils/cfengine2/MESSAGE @@ -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 @@ editfiles: 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 --git a/sysutils/cfengine2/Makefile b/sysutils/cfengine2/Makefile index 712fd0d378e..319a6377c9d 100644 --- a/sysutils/cfengine2/Makefile +++ b/sysutils/cfengine2/Makefile @@ -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 @@ post-install: ${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 --git a/sysutils/cfengine2/PLIST b/sysutils/cfengine2/PLIST index 7e42611bcad..985c7da6b03 100644 --- a/sysutils/cfengine2/PLIST +++ b/sysutils/cfengine2/PLIST @@ -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.sun4.example 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 --git a/sysutils/cfengine2/files/cfexecd.cron b/sysutils/cfengine2/files/cfexecd.cron deleted file mode 100644 index fdd95462acf..00000000000 --- a/sysutils/cfengine2/files/cfexecd.cron +++ /dev/null @@ -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 -- cgit v1.2.3