forked from ungleich-public/cdist
		
	Log 'Processing' line even if dry run.
This commit is contained in:
		
					parent
					
						
							
								481b987c7e
							
						
					
				
			
			
				commit
				
					
						dd48c82656
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -649,9 +649,9 @@ class Config(object):
 | 
				
			||||||
            cdist_object.changed = True
 | 
					            cdist_object.changed = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Execute
 | 
					        # Execute
 | 
				
			||||||
        if not self.dry_run:
 | 
					 | 
				
			||||||
        if cdist_object.code_local or cdist_object.code_remote:
 | 
					        if cdist_object.code_local or cdist_object.code_remote:
 | 
				
			||||||
            self.log.info("Processing %s" % (cdist_object.name))
 | 
					            self.log.info("Processing %s" % (cdist_object.name))
 | 
				
			||||||
 | 
					        if not self.dry_run:
 | 
				
			||||||
            if cdist_object.code_local:
 | 
					            if cdist_object.code_local:
 | 
				
			||||||
                self.log.trace("Executing local code for %s"
 | 
					                self.log.trace("Executing local code for %s"
 | 
				
			||||||
                               % (cdist_object.name))
 | 
					                               % (cdist_object.name))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue