From dd48c826564f54de2bc192792deed08179eec607 Mon Sep 17 00:00:00 2001 From: Darko Poljak Date: Thu, 7 Sep 2017 11:30:02 +0200 Subject: [PATCH] Log 'Processing' line even if dry run. --- cdist/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdist/config.py b/cdist/config.py index 0435201c..45f099de 100644 --- a/cdist/config.py +++ b/cdist/config.py @@ -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))