entities/schemaobjs.py
changeset 6632 78878f5a8166
parent 6627 430b7703b3fd
child 6912 b61b844f2dad
equal deleted inserted replaced
6631:26c303c3f1aa 6632:78878f5a8166
    66     def host_config(self):
    66     def host_config(self):
    67         dictconfig = self.dictconfig
    67         dictconfig = self.dictconfig
    68         host = gethostname()
    68         host = gethostname()
    69         for hostcfg in self.host_configs:
    69         for hostcfg in self.host_configs:
    70             if hostcfg.match(host):
    70             if hostcfg.match(host):
    71                 self.info('matching host config %s' % hostcfg.match_host)
    71                 self.info('matching host config %s for source %s',
       
    72                           hostcfg.match_host, self.name)
    72                 dictconfig.update(hostcfg.dictconfig)
    73                 dictconfig.update(hostcfg.dictconfig)
    73         return dictconfig
    74         return dictconfig
    74 
    75 
    75     @property
    76     @property
    76     def host_configs(self):
    77     def host_configs(self):