Working on automatic rmdom for bad domains during regen
[hcoop/domtool2.git] / configDefault / domtool.cfg
1 val libRoot = "/afs/hcoop.net/common/etc/domtool/lib"
2 val resultRoot = "/afs/hcoop.net/common/etc/domtool/nodes"
3 val tmpDir = "/tmp/domtool"
4 val oldResultRoot = "/afs/hcoop.net/common/etc/domtool/nodes.old"
5
6 val cat = "/bin/cat"
7 val cp = "/bin/cp"
8 val diff = "/usr/bin/diff"
9 val rm = "/bin/rm"
10 val echo = "/bin/echo"
11 val grep = "/bin/grep"
12 val sudo = "/usr/bin/sudo"
13 val domtool_publish = "/usr/local/sbin/domtool-publish"
14
15 val defaultNs = "ns1.hcoop.net"
16
17 val defaultRefresh = 172800
18 val defaultRetry = 900
19 val defaultExpiry = 1209600
20 val defaultMinimum = 3600
21
22 val nodeIps = [("deleuze", "69.90.123.67"), ("mire", "69.90.123.68")]
23 val defaultNode = "deleuze"
24
25 val masterNode = "deleuze"
26 val slaveNodes = ["mire"]
27
28 val dnsNodes_all = ["deleuze", "mire"]
29 val dnsNodes_admin = []
30
31 val mailNodes_all = ["deleuze"]
32 val mailNodes_admin = ["mire"]
33
34 val aclFile = "/afs/hcoop.net/common/etc/domtool/acl"
35
36 val testUser = "test"
37
38 val defaultDomain = "hcoop.net"
39
40 val dispatcher = "deleuze.hcoop.net"
41 val dispatcherPort = 1234
42 val slavePort = 1235
43 val queueSize = 5
44
45 val bufSize = 1024
46
47 val trustStore = "/afs/hcoop.net/common/etc/domtool/TrustStore.pem"
48 val serverCert = "/afs/hcoop.net/common/etc/domtool/servercert.pem"
49 val serverKey = "/etc/domtool/serverkey.pem"
50
51 val certDir = "/afs/hcoop.net/common/etc/domtool/certs"
52 val keyDir = "/afs/hcoop.net/common/etc/domtool/keys"
53 val serialDir = "/afs/hcoop.net/common/etc/domtool/serials"
54
55 val dispatcherName = "deleuze"
56
57 fun domtoolDir user =
58 case user of
59 "domtool" => "/afs/hcoop.net/common/etc/domtool/.domtool"
60 | _ => OS.Path.joinDirFile {dir = Posix.SysDB.Passwd.home (Posix.SysDB.getpwnam user),
61 file = ".domtool"}
62
63 val worldReadable = ["/usr/share/moin"]