X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/6ae327f88a6be8efd02cfe4b713444f9f3ac2672..35d714e36d9b26c2951e7d4ff10cf247042a3a8f:/configDefault/domtool.cfg diff --git a/configDefault/domtool.cfg b/configDefault/domtool.cfg dissimilarity index 82% index 4ea0478..f580bdb 100644 --- a/configDefault/domtool.cfg +++ b/configDefault/domtool.cfg @@ -1,15 +1,55 @@ -val libRoot = "/home/adamc/cvs/domtool2/lib" -val resultRoot = "/home/adamc/domtool" -val tmpDir = "/tmp" - -val cat = "/bin/cat" -val cp = "/bin/cp" -val diff = "/usr/bin/diff" -val rm = "/bin/rm" - -val defaultNs = "ns.hcoop.net" - -val defaultRefresh = 172800 -val defaultRetry = 900 -val defaultExpiry = 1209600 -val defaultMinimum = 3600 +open ConfigCore + +val libRoot = ConfigCore.sharedRoot ^ "/lib" +val resultRoot = ConfigCore.sharedRoot ^ "/nodes" +val tmpDir = "/tmp/domtool" +val oldResultRoot = ConfigCore.sharedRoot ^ "/nodes.old" + +val domtool_publish = ConfigCore.installPrefix ^ "/sbin/domtool-publish" + +val defaultNs = "ns1.hcoop.net" + +val defaultRefresh = 86400 +val defaultRetry = 1800 +val defaultExpiry = 1209600 +val defaultMinimum = 3600 + +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")] +val defaultNode = "fritz" + +val dnsNodes_all = ["deleuze", "outpost"] +val dnsNodes_admin = [] + +val mailNodes_all = ["deleuze"] +val mailNodes_admin = [] + +val aclFile = ConfigCore.sharedRoot ^ "/acl" + +val testUser = "test" + +val defaultDomain = "hcoop.net" + +val dispatcher = defaultNode ^ "." ^ defaultDomain +val dispatcherPort = 1234 +val slavePort = 1235 +val queueSize = 5 + +val bufSize = 1024 + +val trustStore = ConfigCore.sharedRoot ^ "/TrustStore.pem" + +val certDir = ConfigCore.sharedRoot ^ "/certs" +val keyDir = ConfigCore.sharedRoot ^ "/keys" +val caDir = "/etc/domtool/ca" + +val dispatcherName = defaultNode + +fun domtoolDir user = + case user of + "domtool" => ConfigCore.sharedRoot ^ "/.domtool" + | _ => OS.Path.joinDirFile {dir = Posix.SysDB.Passwd.home (Posix.SysDB.getpwnam user), + file = ".domtool"} + +val worldReadable = ["/usr/share/moin", "/usr/share/apache/icons", "/afs/hcoop.net/common/app/moin/installed"] + +val publish_reusers = ConfigCore.sudo ^ " " ^ domtool_publish ^ " users"