forked from ungleich-public/cdist
		
	Fix missing vars.
This commit is contained in:
		
					parent
					
						
							
								3e763e9e6c
							
						
					
				
			
			
				commit
				
					
						341de216a6
					
				
			
		
					 2 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -200,7 +200,8 @@ class Config(object):
 | 
				
			||||||
        log = logging.getLogger(host)
 | 
					        log = logging.getLogger(host)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        try:
 | 
					        try:
 | 
				
			||||||
            remote_exec, remote_copy = cls._resolve_remote_cmds(host_base_path)
 | 
					            remote_exec, remote_copy = cls._resolve_remote_cmds(
 | 
				
			||||||
 | 
					                args, host_base_path)
 | 
				
			||||||
            log.debug("remote_exec for host \"{}\": {}".format(
 | 
					            log.debug("remote_exec for host \"{}\": {}".format(
 | 
				
			||||||
                host, remote_exec))
 | 
					                host, remote_exec))
 | 
				
			||||||
            log.debug("remote_copy for host \"{}\": {}".format(
 | 
					            log.debug("remote_copy for host \"{}\": {}".format(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,7 +60,7 @@ class HostSource(object):
 | 
				
			||||||
                yield host
 | 
					                yield host
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def hosts(self):
 | 
					    def hosts(self):
 | 
				
			||||||
        if not source:
 | 
					        if not self.source:
 | 
				
			||||||
            return
 | 
					            return
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if isinstance(self.source, str):
 | 
					        if isinstance(self.source, str):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue