소스 검색

Update certificate paths when 'names' key is provided.

Andrew Butcher 9 년 전
부모
커밋
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']))