summaryrefslogtreecommitdiff
path: root/sysutils/cfengine2/MESSAGE
blob: cbf37d8ac45b90c3bd8e7b676df7941d2d10b437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
===========================================================================
$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:

1. /var/cfengine/inputs/update.conf

2. Manually add the "cfengine" service to /etc/services or
   automate it in /var/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
===========================================================================