예제 #1
0
파일: Bundler.py 프로젝트: tomaszov/bcfg2
 def __init__(self, filename, should_monitor=False):
     StructFile.__init__(self, filename, should_monitor=should_monitor)
     if self.name.endswith(".genshi"):
         self.logger.warning("Bundler: %s: Bundle filenames ending with "
                             ".genshi are deprecated; add the Genshi XML "
                             "namespace to a .xml bundle instead" %
                             self.name)
예제 #2
0
파일: Bundler.py 프로젝트: Bcfg2/bcfg2
 def __init__(self, filename, should_monitor=False):
     StructFile.__init__(self, filename, should_monitor=should_monitor)
     if self.name.endswith(".genshi"):
         self.logger.warning("Bundler: %s: Bundle filenames ending with "
                             ".genshi are deprecated; add the Genshi XML "
                             "namespace to a .xml bundle instead" %
                             self.name)
예제 #3
0
    def __init__(self, fname):
        CfgCreator.__init__(self, fname)
        StructFile.__init__(self, fname)

        pubkey_path = os.path.dirname(self.name) + ".pub"
        pubkey_name = os.path.join(pubkey_path, os.path.basename(pubkey_path))
        self.pubkey_creator = CfgPublicKeyCreator(pubkey_name)
예제 #4
0
    def __init__(self, fname):
        CfgCreator.__init__(self, fname)
        StructFile.__init__(self, fname)

        pubkey_path = os.path.dirname(self.name) + ".pub"
        pubkey_name = os.path.join(pubkey_path, os.path.basename(pubkey_path))
        self.pubkey_creator = CfgPublicKeyCreator(pubkey_name)
        self.setup = get_option_parser()
        self.cmd = Executor()
예제 #5
0
    def __init__(self, fname):
        CfgCreator.__init__(self, fname)
        StructFile.__init__(self, fname)

        pubkey_path = os.path.dirname(self.name) + ".pub"
        pubkey_name = os.path.join(pubkey_path, os.path.basename(pubkey_path))
        self.pubkey_creator = CfgPublicKeyCreator(pubkey_name)
        self.setup = get_option_parser()
        self.cmd = Executor()
예제 #6
0
 def __init__(self, fname):
     CfgCreator.__init__(self, fname)
     StructFile.__init__(self, fname)
     self.cfg = CFG
예제 #7
0
 def __init__(self, fname):
     CfgGenerator.__init__(self, fname, None)
     StructFile.__init__(self, fname)
     self.cache = dict()
     self.core = get_cfg().core
예제 #8
0
 def __init__(self, fname):
     CfgCreator.__init__(self, fname)
     StructFile.__init__(self, fname)
     self.cfg = get_cfg()
     self.core = self.cfg.core
     self.cmd = Executor()
예제 #9
0
 def __init__(self, fname):
     CfgGenerator.__init__(self, fname, None, None)
     StructFile.__init__(self, fname)
     self.cache = dict()
     self.core = CFG.core
예제 #10
0
 def __init__(self, fname):
     CfgCreator.__init__(self, fname)
     StructFile.__init__(self, fname)
     self.cfg = CFG
예제 #11
0
 def __init__(self, fname):
     CfgCreator.__init__(self, fname)
     StructFile.__init__(self, fname)
     self.cfg = get_cfg()
     self.core = self.cfg.core
     self.cmd = Executor()