diff options
Diffstat (limited to 'src/lib/Server/Plugins')
-rw-r--r-- | src/lib/Server/Plugins/Svcmgr.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/Server/Plugins/Svcmgr.py b/src/lib/Server/Plugins/Svcmgr.py index e69de29bb..a1b6442ff 100644 --- a/src/lib/Server/Plugins/Svcmgr.py +++ b/src/lib/Server/Plugins/Svcmgr.py @@ -0,0 +1,19 @@ +'''This generator provides service mappings''' +__revision__ = '$Revision$' + +from Bcfg2.Server.Plugin import Plugin, ScopedXMLFile + +class Svcmgr(Plugin): + '''This is a generator that handles service assignments''' + __name__ = 'Svcmgr' + __version__ = '$Id$' + __author__ = 'bcfg-dev@mcs.anl.gov' + + def __init__(self, core, datastore): + Plugin.__init__(self, core, datastore) + self.svc = ScopedXMLFile("%s/etc/services.xml"%(datastore), self.core.fam) + self.Entries = self.svc.__provides__ + + + + |