summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2
diff options
context:
space:
mode:
authorben <ben>2004-09-23 23:16:33 +0000
committerben <ben>2004-09-23 23:16:33 +0000
commit672c0fee06445831af2bbdb37d0fa5a672650e25 (patch)
treeb37d125ad52d58ca873af2a8f931cfe231361c65 /sysutils/cfengine2
parent1f9aad85f5d9be64363894f47fce854a3577330b (diff)
downloadpkgsrc-672c0fee06445831af2bbdb37d0fa5a672650e25.tar.gz
Remove example crontab entry from FILESDIR and add it to MESSAGE, the more
customary place.
Diffstat (limited to 'sysutils/cfengine2')
-rw-r--r--sysutils/cfengine2/MESSAGE8
-rw-r--r--sysutils/cfengine2/Makefile4
-rw-r--r--sysutils/cfengine2/PLIST3
-rw-r--r--sysutils/cfengine2/files/cfexecd.cron4
4 files changed, 7 insertions, 12 deletions
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