summaryrefslogtreecommitdiff
path: root/reconfigure/configs/bind9.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/configs/bind9.py')
-rw-r--r--reconfigure/configs/bind9.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/reconfigure/configs/bind9.py b/reconfigure/configs/bind9.py
new file mode 100644
index 0000000..8bf38a8
--- /dev/null
+++ b/reconfigure/configs/bind9.py
@@ -0,0 +1,19 @@
+from reconfigure.configs.base import Reconfig
+from reconfigure.parsers import BIND9Parser
+from reconfigure.includers import BIND9Includer
+from reconfigure.builders import BoundBuilder
+from reconfigure.items.bind9 import BIND9Data
+
+
+class BIND9Config (Reconfig):
+ """
+ ``named.conf``
+ """
+ def __init__(self, **kwargs):
+ k = {
+ 'parser': BIND9Parser(),
+ 'includer': BIND9Includer(),
+ 'builder': BoundBuilder(BIND9Data),
+ }
+ k.update(kwargs)
+ Reconfig.__init__(self, **k)