summaryrefslogtreecommitdiff
path: root/reconfigure/configs/exports.py
blob: 3f0296a749b49b7e6ef3ff3cb2ce8e01f2113edf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)