Browse Source

Update certificate paths when 'names' key is provided.

Andrew Butcher 9 years ago
parent
commit
dd5508bdb1
1 changed files with 1 additions and 0 deletions
  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']))