forked from ungleich-public/cdist
		
	remove the currently broken init()
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								94fc5b3c91
							
						
					
				
			
			
				commit
				
					
						78a5bbf6e8
					
				
			
		
					 1 changed files with 10 additions and 10 deletions
				
			
		
							
								
								
									
										20
									
								
								bin/cdist
									
										
									
									
									
								
							
							
						
						
									
										20
									
								
								bin/cdist
									
										
									
									
									
								
							| 
						 | 
					@ -92,16 +92,16 @@ def init_deploy(hostname):
 | 
				
			||||||
   logger("info", "Creating clean directory structure")
 | 
					   logger("info", "Creating clean directory structure")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   # Ensure there is no old stuff, neither local nor remote
 | 
					   # Ensure there is no old stuff, neither local nor remote
 | 
				
			||||||
   run_or_fail(["rm -rf", "$__cdist_local_base_dir"])
 | 
					#   run_or_fail(["rm -rf", "$__cdist_local_base_dir"])
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
   remote_run_or_fail(hostname, ["rm -rf", "${__cdist_remote_base_dir}"])
 | 
					#   remote_run_or_fail(hostname, ["rm -rf", "${__cdist_remote_base_dir}"])
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
   # Create base directories
 | 
					#   # Create base directories
 | 
				
			||||||
   run_or_fail(["mkdir -p", "$__cdist_local_base_dir"])
 | 
					#   run_or_fail(["mkdir -p", "$__cdist_local_base_dir"])
 | 
				
			||||||
   remote_run_or_fail(hostname,["mkdir -p", "${__cdist_remote_base_dir}"])
 | 
					#   remote_run_or_fail(hostname,["mkdir -p", "${__cdist_remote_base_dir}"])
 | 
				
			||||||
 | 
					#
 | 
				
			||||||
   # Link configuraion source directory - consistent with remote
 | 
					#   # Link configuraion source directory - consistent with remote
 | 
				
			||||||
   run_or_fail(["ln -sf", "$__cdist_conf_dir", "$__cdist_local_base_dir/$__cdist_name_conf_dir"])
 | 
					#   run_or_fail(["ln -sf", "$__cdist_conf_dir", "$__cdist_local_base_dir/$__cdist_name_conf_dir"])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def cdist_deploy_to(hostname):
 | 
					def cdist_deploy_to(hostname):
 | 
				
			||||||
   """Mimic the old deploy to: Deploy to one host"""
 | 
					   """Mimic the old deploy to: Deploy to one host"""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue