forked from ungleich-public/cdist
		
	move log output into correct function, also log object code run/gencode
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								42e1c21f43
							
						
					
				
			
			
				commit
				
					
						950424d478
					
				
			
		
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -91,7 +91,6 @@ class ConfigInstall(object): | ||||||
|                     self.log.debug("Skipping rerun of object %s", cdist_object) |                     self.log.debug("Skipping rerun of object %s", cdist_object) | ||||||
|                     continue |                     continue | ||||||
|                 else: |                 else: | ||||||
|                     self.log.info("Running manifest and explorer for " + cdist_object.name) |  | ||||||
|                     self.object_prepare(cdist_object) |                     self.object_prepare(cdist_object) | ||||||
|                     new_objects_created = True |                     new_objects_created = True | ||||||
| 
 | 
 | ||||||
|  | @ -119,14 +118,14 @@ class ConfigInstall(object): | ||||||
| 
 | 
 | ||||||
|     def object_prepare(self, cdist_object): |     def object_prepare(self, cdist_object): | ||||||
|         """Prepare object: Run type explorer + manifest""" |         """Prepare object: Run type explorer + manifest""" | ||||||
|         self.log.debug("Preparing object: " + cdist_object.name) |         self.log.info("Running manifest and explorers for " + cdist_object.name) | ||||||
|         self.run_type_explorers(cdist_object) |         self.run_type_explorers(cdist_object) | ||||||
|         self.manifest.run_type_manifest(cdist_object) |         self.manifest.run_type_manifest(cdist_object) | ||||||
|         cdist_object.prepared = True |         cdist_object.prepared = True | ||||||
| 
 | 
 | ||||||
|     def object_run(self, cdist_object): |     def object_run(self, cdist_object): | ||||||
|         """Run gencode and code for an object""" |         """Run gencode and code for an object""" | ||||||
|         self.log.debug("Running object %s", cdist_object) |         self.log.info("Running gencode and code for " + cdist_object.name) | ||||||
| 
 | 
 | ||||||
|         # Catch requirements, which re-call us |         # Catch requirements, which re-call us | ||||||
|         if cdist_object.ran: |         if cdist_object.ran: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue