Просмотр исходного кода

Update certificate paths when 'names' key is provided.

Andrew Butcher 9 лет назад
Родитель
Сommit
dd5508bdb1
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      filter_plugins/oo_filters.py

+ 1 - 0
filter_plugins/oo_filters.py

@@ -400,6 +400,7 @@ class FilterModule(object):
                                                  "detected a collision with internal hostname, please specify " +
                                                  "certificate names in host inventory"))
 
+        for certificate in certificates:
             # Update paths for configuration
             certificate['certfile'] = os.path.join(named_certs_dir, os.path.basename(certificate['certfile']))
             certificate['keyfile'] = os.path.join(named_certs_dir, os.path.basename(certificate['keyfile']))