forked from ungleich-public/cdist
Fix empty conf_dir configuration value.
This commit is contained in:
parent
704e918421
commit
4af3c0c6d5
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue