]> git.llucax.com Git - software/pymin.git/blobdiff - config.py
Add a new, backward compatible, way to specify specific config dirs.
[software/pymin.git] / config.py
index ca0cc650e5bed824baa70fa742df40feba129999..d868c41b68de699ba42caa2465f59d9597765621 100644 (file)
--- a/config.py
+++ b/config.py
@@ -15,7 +15,10 @@ class Root(Handler):
         config_dir = join(config_path, 'dhcp'))
     dns = DnsHandler(
         pickle_dir = join(pickle_path, 'dns'),
-        config_dir = join(config_path, 'dns'))
+        config_dir = {
+            'named.conf': join(config_path, 'dns'),
+            'zoneX.zone': join(config_path, 'dns', 'zones'),
+        })
     firewall = FirewallHandler(
         pickle_dir = join(pickle_path, 'firewall'),
         config_dir = join(config_path, 'firewall'))