f580bdb0f186b34473f161bbe6ad8b1cff6dcf99
[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 defaultNode = "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 dispatcher = defaultNode ^ "." ^ defaultDomain
33 val dispatcherPort = 1234
34 val slavePort = 1235
35 val queueSize = 5
36
37 val bufSize = 1024
38
39 val trustStore = ConfigCore.sharedRoot ^ "/TrustStore.pem"
40
41 val certDir = ConfigCore.sharedRoot ^ "/certs"
42 val keyDir = ConfigCore.sharedRoot ^ "/keys"
43 val caDir = "/etc/domtool/ca"
44
45 val dispatcherName = defaultNode
46
47 fun domtoolDir user =
48 case user of
49 "domtool" => ConfigCore.sharedRoot ^ "/.domtool"
50 | _ => OS.Path.joinDirFile {dir = Posix.SysDB.Passwd.home (Posix.SysDB.getpwnam user),
51 file = ".domtool"}
52
53 val worldReadable = ["/usr/share/moin", "/usr/share/apache/icons", "/afs/hcoop.net/common/app/moin/installed"]
54
55 val publish_reusers = ConfigCore.sudo ^ " " ^ domtool_publish ^ " users"