From dd5508bdb13af0c67aae49131b314d2c9443282c Mon Sep 17 00:00:00 2001 From: Andrew Butcher Date: Wed, 18 Nov 2015 08:58:14 -0500 Subject: Update certificate paths when 'names' key is provided. --- filter_plugins/oo_filters.py | 1 + 1 file changed, 1 insertion(+) diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py index dc59d3c68..83f5cdcef 100644 --- a/filter_plugins/oo_filters.py +++ b/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'])) -- cgit v1.2.3