summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-30 15:07:47 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-30 15:07:47 +0000
commit5adc05d4cd1c588ae68c5f119c5e2923550b1faf (patch)
treee71c69ed88feb15cd171286547f4cd7a8bc5a054 /src/lib/Server
parent0e815013c92baf633bc0a62e6839821a81279370 (diff)
downloadbcfg2-5adc05d4cd1c588ae68c5f119c5e2923550b1faf.tar.gz
bcfg2-5adc05d4cd1c588ae68c5f119c5e2923550b1faf.tar.bz2
bcfg2-5adc05d4cd1c588ae68c5f119c5e2923550b1faf.zip
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
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Generators/Svcmgr.py19
1 files changed, 19 insertions, 0 deletions
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__
+
+
+
+