summaryrefslogtreecommitdiff
path: root/reconfigure/configs/exports.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/configs/exports.py')
-rw-r--r--reconfigure/configs/exports.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/reconfigure/configs/exports.py b/reconfigure/configs/exports.py
new file mode 100644
index 0000000..3f0296a
--- /dev/null
+++ b/reconfigure/configs/exports.py
@@ -0,0 +1,17 @@
+from reconfigure.configs.base import Reconfig
+from reconfigure.parsers import ExportsParser
+from reconfigure.builders import BoundBuilder
+from reconfigure.items.exports import ExportsData
+
+
+class ExportsConfig (Reconfig):
+ """
+ ``/etc/fstab``
+ """
+ def __init__(self, **kwargs):
+ k = {
+ 'parser': ExportsParser(),
+ 'builder': BoundBuilder(ExportsData),
+ }
+ k.update(kwargs)
+ Reconfig.__init__(self, **k)