Log 'Processing' line even if dry run.

This commit is contained in:
Darko Poljak 2017-09-07 11:30:02 +02:00
parent 481b987c7e
commit dd48c82656
1 changed files with 2 additions and 2 deletions

View File

@ -649,9 +649,9 @@ class Config(object):
cdist_object.changed = True
# Execute
if cdist_object.code_local or cdist_object.code_remote:
self.log.info("Processing %s" % (cdist_object.name))
if not self.dry_run:
if cdist_object.code_local or cdist_object.code_remote:
self.log.info("Processing %s" % (cdist_object.name))
if cdist_object.code_local:
self.log.trace("Executing local code for %s"
% (cdist_object.name))