summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Generators/fs.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/Server/Generators/fs.py b/src/lib/Server/Generators/fs.py
index e69de29bb..35160810a 100644
--- a/src/lib/Server/Generators/fs.py
+++ b/src/lib/Server/Generators/fs.py
@@ -0,0 +1,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__
+
+