remote cdist.path, use base_dir
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								f121934769
							
						
					
				
			
			
				commit
				
					
						ca5361afc1
					
				
			
		
					 3 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,7 @@ def config(args):
 | 
			
		|||
    os.environ['__remote_copy'] = "scp -o User=root -q"
 | 
			
		||||
 | 
			
		||||
    for host in args.host:
 | 
			
		||||
        c = Config(host, initial_manifest=args.manifest, home=args.cdist_home, debug=args.debug)
 | 
			
		||||
        c = Config(host, initial_manifest=args.manifest, base_dir=args.cdist_home, debug=args.debug)
 | 
			
		||||
        if args.parallel:
 | 
			
		||||
            log.debug("Creating child process for %s", host)
 | 
			
		||||
            process[host] = multiprocessing.Process(target=c.deploy_and_cleanup)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -25,10 +25,9 @@ import os
 | 
			
		|||
import stat
 | 
			
		||||
import sys
 | 
			
		||||
 | 
			
		||||
import cdist.emulator
 | 
			
		||||
import cdist.path
 | 
			
		||||
 | 
			
		||||
import cdist.context
 | 
			
		||||
import cdist.core
 | 
			
		||||
import cdist.emulator
 | 
			
		||||
 | 
			
		||||
log = logging.getLogger(__name__)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -24,7 +24,6 @@ import logging
 | 
			
		|||
import os
 | 
			
		||||
 | 
			
		||||
import cdist
 | 
			
		||||
import cdist.path
 | 
			
		||||
 | 
			
		||||
log = logging.getLogger(__name__)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue