blob: e4de6df63036da05fb4dac6ea1527e5891b14311 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env python
from elementtree.ElementTree import XML
from Bcfg2.Server.Generator import Generator, ScopedXMLFile
class servicemgr(Generator):
'''This is a generator that handles service assignments'''
__name__ = 'servicemgr'
__version__ = '$Id$'
__author__ = 'bcfg-dev@mcs.anl.gov'
def __init__(self, core, datastore):
Generator.__init__(self, core, datastore)
self.svc = ScopedXMLFile("%s/common/services.xml"%(datastore), self.core.fam)
self.__provides__ = self.svc.__provides__
|