Remove Config.{dispatcher,defaultNode}
[hcoop/domtool2.git] / configDefault / domtool.cfg
CommitLineData
979844d5
CE
1open ConfigCore
2
3val libRoot = ConfigCore.sharedRoot ^ "/lib"
4val resultRoot = ConfigCore.sharedRoot ^ "/nodes"
e0b0abd2 5val tmpDir = "/tmp/domtool"
979844d5 6val oldResultRoot = ConfigCore.sharedRoot ^ "/nodes.old"
d612d62c 7
979844d5 8val domtool_publish = ConfigCore.installPrefix ^ "/sbin/domtool-publish"
6ae327f8 9
a431ca34 10val defaultNs = "ns1.hcoop.net"
6ae327f8 11
635b5f7d
AC
12val defaultRefresh = 86400
13val defaultRetry = 1800
6ae327f8
AC
14val defaultExpiry = 1209600
15val defaultMinimum = 3600
e0b0abd2 16
2d25e552 17val 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")]
201b83c7 18val dispatcherName = "fritz"
12adf55a 19
fec6c9c4 20val dnsNodes_all = ["deleuze", "outpost"]
be1bea4c
AC
21val dnsNodes_admin = []
22
837dcf99 23val mailNodes_all = ["deleuze"]
2d25e552 24val mailNodes_admin = []
bbdf617f 25
979844d5 26val aclFile = ConfigCore.sharedRoot ^ "/acl"
12adf55a 27
a49a9bfb 28val testUser = "test"
8a7c40fa
AC
29
30val defaultDomain = "hcoop.net"
559e89e9 31
07cc384c 32val dispatcherPort = 1234
36e42cb8 33val slavePort = 1235
3b267643 34val queueSize = 5
07cc384c
AC
35
36val bufSize = 1024
3b267643 37
979844d5 38val trustStore = ConfigCore.sharedRoot ^ "/TrustStore.pem"
aa56e112 39
979844d5
CE
40val certDir = ConfigCore.sharedRoot ^ "/certs"
41val keyDir = ConfigCore.sharedRoot ^ "/keys"
2c4e2cf3 42val caDir = "/etc/domtool/ca"
aa56e112 43
1824f573
AC
44fun domtoolDir user =
45 case user of
979844d5 46 "domtool" => ConfigCore.sharedRoot ^ "/.domtool"
26ba11bf 47 | _ => OS.Path.joinDirFile {dir = Posix.SysDB.Passwd.home (Posix.SysDB.getpwnam user),
e7905534 48 file = ".domtool"}
998ed174 49
462b0915 50val worldReadable = ["/usr/share/moin", "/usr/share/apache/icons", "/afs/hcoop.net/common/app/moin/installed"]
563e7792 51
979844d5 52val publish_reusers = ConfigCore.sudo ^ " " ^ domtool_publish ^ " users"