Remove Config.{dispatcher,defaultNode}
[hcoop/domtool2.git] / configDefault / domtool.cfg
1 open ConfigCore
2
3 val libRoot = ConfigCore.sharedRoot ^ "/lib"
4 val resultRoot = ConfigCore.sharedRoot ^ "/nodes"
5 val tmpDir = "/tmp/domtool"
6 val oldResultRoot = ConfigCore.sharedRoot ^ "/nodes.old"
7
8 val domtool_publish = ConfigCore.installPrefix ^ "/sbin/domtool-publish"
9
10 val defaultNs = "ns1.hcoop.net"
11
12 val defaultRefresh = 86400
13 val defaultRetry = 1800
14 val defaultExpiry = 1209600
15 val defaultMinimum = 3600
16
17 val nodeIps = [("deleuze", "69.90.123.67"), ("hopper", "69.90.123.74"), ("fritz", "69.90.123.75"), ("navajos", "69.90.123.70"), ("bog", "69.90.123.72"), ("outpost", "151.236.216.192")]
18 val dispatcherName = "fritz"
19
20 val dnsNodes_all = ["deleuze", "outpost"]
21 val dnsNodes_admin = []
22
23 val mailNodes_all = ["deleuze"]
24 val mailNodes_admin = []
25
26 val aclFile = ConfigCore.sharedRoot ^ "/acl"
27
28 val testUser = "test"
29
30 val defaultDomain = "hcoop.net"
31
32 val dispatcherPort = 1234
33 val slavePort = 1235
34 val queueSize = 5
35
36 val bufSize = 1024
37
38 val trustStore = ConfigCore.sharedRoot ^ "/TrustStore.pem"
39
40 val certDir = ConfigCore.sharedRoot ^ "/certs"
41 val keyDir = ConfigCore.sharedRoot ^ "/keys"
42 val caDir = "/etc/domtool/ca"
43
44 fun domtoolDir user =
45 case user of
46 "domtool" => ConfigCore.sharedRoot ^ "/.domtool"
47 | _ => OS.Path.joinDirFile {dir = Posix.SysDB.Passwd.home (Posix.SysDB.getpwnam user),
48 file = ".domtool"}
49
50 val worldReadable = ["/usr/share/moin", "/usr/share/apache/icons", "/afs/hcoop.net/common/app/moin/installed"]
51
52 val publish_reusers = ConfigCore.sudo ^ " " ^ domtool_publish ^ " users"