Add caDir and move serialDir into Config.Bind
[hcoop/domtool2.git] / configDefault / bind.cfg
dissimilarity index 79%
index 5526042..6178bef 100644 (file)
@@ -1,12 +1,17 @@
-structure Bind :> BIND_CONFIG = struct
-
-val defaultTTL = 172800
-
-val zonePath = "/home/adamc/fake"
-
-val namedConf = "/home/adamc/fake/named.conf"
-
-val reload = "echo \"I would reload bind now.\""
-(*"/etc/init.d/bind9 reload"*)
-
-end
+structure Bind :> BIND_CONFIG = struct
+
+val masterNode = "deleuze"
+val slaveNodes = ["outpost"]
+
+val defaultTTL = 3600
+
+val zonePath = ConfigCore.localRoot ^ "/zones"
+val zonePath_real = "/etc/bind/zones"
+
+val serialDir = ConfigCore.sharedRoot ^ "/serials"
+
+val namedConf = ConfigCore.localRoot ^ "/named.conf.local"
+
+val reload = ConfigCore.sudo ^ " " ^ ConfigCore.installPrefix ^ "/sbin/domtool-publish bind"
+
+end