summaryrefslogtreecommitdiffstats
path: root/filter_plugins/oo_filters.py
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2015-11-18 08:58:14 -0500
committerAndrew Butcher <abutcher@redhat.com>2015-11-18 08:58:14 -0500
commitdd5508bdb13af0c67aae49131b314d2c9443282c (patch)
treeb72fedd8676ef656f52e1d99840733e0dc1e55fd /filter_plugins/oo_filters.py
parent927e585bbeb049523313bacedc57efee2eacf232 (diff)
downloadopenshift-dd5508bdb13af0c67aae49131b314d2c9443282c.tar.gz
openshift-dd5508bdb13af0c67aae49131b314d2c9443282c.tar.bz2
openshift-dd5508bdb13af0c67aae49131b314d2c9443282c.tar.xz
openshift-dd5508bdb13af0c67aae49131b314d2c9443282c.zip
Update certificate paths when 'names' key is provided.
Diffstat (limited to 'filter_plugins/oo_filters.py')
-rw-r--r--filter_plugins/oo_filters.py1
1 files changed, 1 insertions, 0 deletions
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']))