27 lines
890 B
Text
27 lines
890 B
Text
===========================================================================
|
|
$NetBSD: MESSAGE,v 1.3 2006/04/20 07:08:27 ahallmann Exp $
|
|
$Id: MESSAGE,v 1.3 2006/04/20 07:08:27 ahallmann 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:
|
|
|
|
1. ${VARBASE}/cfengine/inputs/update.conf
|
|
|
|
2. Manually add the "cfengine" service to /etc/services or
|
|
automate it in ${VARBASE}/cfengine/inputs/cfagent.conf:
|
|
|
|
editfiles:
|
|
|
|
{ /etc/services
|
|
|
|
Backup "false"
|
|
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
|
|
===========================================================================
|