summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Generators/fs.py
blob: 35160810a7051fe380de3ff3930ed4ca6f2ba497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python

from Generator import Generator, ScopedXMLFile
from elementtree.ElementTree import Element

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/../common/fs.xml"%(datastore), self.core.fam)
        self.__provides__ = self.fs.__provides__