Log 'Processing' line even if dry run.

remotes/origin/prometheus-exporter-fixes
Darko Poljak 7 years ago
parent 481b987c7e
commit dd48c82656
  1. 2
      cdist/config.py

2
cdist/config.py vendored

@ -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…
Cancel
Save