hcoop: move gibran and marsh to new ips
[hcoop/domtool2.git] / configDefault / domtool.cfg
dissimilarity index 100%
index 79fab00..b07c4c9 100644 (file)
@@ -1,2 +1,45 @@
-val libRoot = "/home/adamc/cvs/domtool2/lib"
-val resultRoot = "/home/adamc/domtool"
+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 nodeIps = [("fritz", "69.90.123.75"), ("navajos", "69.90.123.70"), ("bog", "69.90.123.72"), ("mccarthy", "69.90.123.73"), ("outpost", "151.236.216.192"), ("gibran", "142.93.177.82"), ("marsh", "45.55.52.66"), ("minsky", "104.248.1.95"), ("shelob", "68.183.54.165"), ("lovelace", "68.183.58.241")]
+val dispatcherName = "fritz"
+
+val dnsNodes_all = ["fritz", "outpost", "gibran"]
+val dnsNodes_admin = []
+
+val mailNodes_all = ["mccarthy", "minsky"]
+val mailNodes_admin = [ ]
+
+val aclFile = ConfigCore.sharedRoot ^ "/acl"
+
+val testUser = "test"
+
+val defaultDomain = "hcoop.net"
+
+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"
+
+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"