summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Generators/FS.py
blob: cba3183461db1506905f1c9d3c5fe4a81aeb27cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
'''This generator handles MCS filesystem setup'''
__revision__ = '$Revision$'

from Bcfg2.Server.Generator import Generator, ScopedXMLFile

class FS(Generator):
    '''This generator takes care of mcs filesystem setup'''
    __name__ = 'FS'
    __version__ = '$Id$'
    __author__ = 'bcfg-dev@mcs.anl.gov'

    def __init__(self, core, datastore):
        Generator.__init__(self, core, datastore)
        self.fs = ScopedXMLFile("%s/../etc/fs.xml"%(datastore), self.core.fam)
        self.__provides__ = self.fs.__provides__