merge toplevel-dynamic-environment
[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 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")]
11 val dispatcherName = "fritz"
12
13 val dnsNodes_all = ["deleuze", "outpost"]
14 val dnsNodes_admin = []
15
16 val mailNodes_all = ["deleuze"]
17 val mailNodes_admin = []
18
19 val aclFile = ConfigCore.sharedRoot ^ "/acl"
20
21 val testUser = "test"
22
23 val defaultDomain = "hcoop.net"
24
25 val dispatcherPort = 1234
26 val slavePort = 1235
27 val queueSize = 5
28
29 val bufSize = 1024
30
31 val trustStore = ConfigCore.sharedRoot ^ "/TrustStore.pem"
32
33 val certDir = ConfigCore.sharedRoot ^ "/certs"
34 val keyDir = ConfigCore.sharedRoot ^ "/keys"
35 val caDir = "/etc/domtool/ca"
36
37 fun domtoolDir user =
38 case user of
39 "domtool" => ConfigCore.sharedRoot ^ "/.domtool"
40 | _ => OS.Path.joinDirFile {dir = Posix.SysDB.Passwd.home (Posix.SysDB.getpwnam user),
41 file = ".domtool"}
42
43 val worldReadable = ["/usr/share/moin", "/usr/share/apache/icons", "/afs/hcoop.net/common/app/moin/installed"]
44
45 val publish_reusers = ConfigCore.sudo ^ " " ^ domtool_publish ^ " users"