equal
deleted
inserted
replaced
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): |