Merge from vendor branch TNF:
[pkgsrcv2.git] / sysutils / cfengine2 / MESSAGE
1 ===========================================================================
2 $NetBSD: MESSAGE,v 1.2 2004/09/23 23:16:33 ben Exp $
3
4 To set up cfengine, install sysutils/cfengine2-doc and see:
5 ${PREFIX}/share/doc/html/cfengine/cfengine-Tutorial.html
6
7 At a minimum, you will need:
8
9 1. /var/cfengine/inputs/update.conf
10
11 2. Manually add the "cfengine" service to /etc/services or
12    automate it in /var/cfengine/inputs/cfagent.conf:
13
14 editfiles:
15
16  { /etc/services
17
18    Backup "false"
19    AppendIfNoSuchLine "cfengine 5308/tcp # CFengine"
20  }
21
22 3. Once you are happy using cfengine, you will want it to
23    run least once per hour.  This is easily achieved by
24    adding the following line to the root crontab:
25      7,37 * * * * ${PREFIX}/sbin/cfexecd -F
26 ===========================================================================