From 5adc05d4cd1c588ae68c5f119c5e2923550b1faf Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Sat, 30 Oct 2004 15:07:47 +0000 Subject: fix internal name 2004/10/30 10:04:04-05:00 anl.gov!desai Change mode to -rw-r--r-- 2004/10/30 10:03:17-05:00 anl.gov!desai change name 2004/10/30 10:02:03-05:00 anl.gov!desai Rename: src/lib/Server/Generators/servicemgr.py -> src/lib/Server/Generators/Svcmgr.py (Logical change 1.136) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@607 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Generators/Svcmgr.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src') diff --git a/src/lib/Server/Generators/Svcmgr.py b/src/lib/Server/Generators/Svcmgr.py index e69de29bb..7b2d89193 100644 --- a/src/lib/Server/Generators/Svcmgr.py +++ b/src/lib/Server/Generators/Svcmgr.py @@ -0,0 +1,19 @@ +'''This generator provides service mappings''' +__revision__ = '$Revision$' + +from Bcfg2.Server.Generator import Generator, ScopedXMLFile + +class Svcmgr(Generator): + '''This is a generator that handles service assignments''' + __name__ = 'Svcmgr' + __version__ = '$Id$' + __author__ = 'bcfg-dev@mcs.anl.gov' + + def __init__(self, core, datastore): + Generator.__init__(self, core, datastore) + self.svc = ScopedXMLFile("%s/etc/services.xml"%(datastore), self.core.fam) + self.__provides__ = self.svc.__provides__ + + + + -- cgit v1.2.3-1-g7c22