forked from ungleich-public/cdist
		
	begin move of cdist-type-emulator to lib/ and submit initial_manifest to cdist
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								97f7513f6e
							
						
					
				
			
			
				commit
				
					
						d6db6d0c7e
					
				
			
		
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -32,6 +32,7 @@ import tempfile | |||
| BASE_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) | ||||
| CONF_DIR                   = os.path.join(BASE_DIR, "conf") | ||||
| GLOBAL_EXPLORER_DIR        = os.path.join(CONF_DIR, "explorer") | ||||
| LIB_DIR                    = os.path.join(BASE_DIR, "lib") | ||||
| MANIFEST_DIR               = os.path.join(CONF_DIR, "manifest") | ||||
| 
 | ||||
| REMOTE_BASE_DIR            = "/var/lib/cdist" | ||||
|  | @ -220,7 +221,7 @@ if __name__ == "__main__": | |||
|       log.debug(args) | ||||
| 
 | ||||
|       for host in args.host: | ||||
|          c = Cdist(host) | ||||
|          c = Cdist(host, initial_manifest=args.manifest) | ||||
|          c.deploy_to() | ||||
|          c.cleanup() | ||||
|    except KeyboardInterrupt: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue