summaryrefslogtreecommitdiff
path: root/reconfigure/configs/netatalk.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/configs/netatalk.py')
-rw-r--r--reconfigure/configs/netatalk.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/reconfigure/configs/netatalk.py b/reconfigure/configs/netatalk.py
new file mode 100644
index 0000000..6db2d21
--- /dev/null
+++ b/reconfigure/configs/netatalk.py
@@ -0,0 +1,18 @@
+from reconfigure.configs.base import Reconfig
+from reconfigure.parsers import IniFileParser
+from reconfigure.builders import BoundBuilder
+from reconfigure.items.netatalk import NetatalkData
+
+
+class NetatalkConfig (Reconfig):
+ """
+ Netatalk afp.conf
+ """
+
+ def __init__(self, **kwargs):
+ k = {
+ 'parser': IniFileParser(),
+ 'builder': BoundBuilder(NetatalkData),
+ }
+ k.update(kwargs)
+ Reconfig.__init__(self, **k)