Fix empty conf_dir configuration value.

remotes/origin/prometheus-more-fixes
Darko Poljak 7 years ago
parent 704e918421
commit 4af3c0c6d5
  1. 4
      cdist/exec/local.py

@ -152,7 +152,9 @@ class Local(object):
# cdist_path_dirs.reverse()
# self.conf_dirs.extend(cdist_path_dirs)
if 'conf_dir' in self.configuration:
self.conf_dirs.extend(self.configuration['conf_dir'])
conf_dirs = self.configuration['conf_dir']
if conf_dirs:
self.conf_dirs.extend(conf_dirs)
# Add command line supplied directories
if self._add_conf_dirs:

Loading…
Cancel
Save