summaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-09-14 13:50:08 +0300
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2016-09-14 15:38:42 +0300
commitaf5f8926929f36546a63ab103ed2bc1bd7a9447d (patch)
treeb79f687c8d66c2f9a8d41e0c6fc1481bd1c9c0ad /puppet/services
parent6dbcec15d35312149a5ab79c5524d292bdbcef10 (diff)
Set client protocol for glance registry client
To communicate to glance registry, glance API has several parameters that it uses to form the URI. Right now we are defaulting to http, when we enable TLS everywhere, this will break. So setting the value from the endpoint map should fix it. Closes-Bug: #1623477 Change-Id: Id86787cbaa6f87fdcf9c26111c228fd59fbba012
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/glance-api.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/puppet/services/glance-api.yaml b/puppet/services/glance-api.yaml
index adc1b4cb..03abe79b 100644
--- a/puppet/services/glance-api.yaml
+++ b/puppet/services/glance-api.yaml
@@ -101,6 +101,7 @@ outputs:
template: "'REGISTRY_HOST'"
params:
REGISTRY_HOST: {get_param: [EndpointMap, GlanceRegistryInternal, host]}
+ glance::api::registry_client_protocol: {get_param: [EndpointMap, GlanceRegistryInternal, protocol] }
glance::api::authtoken::password: {get_param: GlancePassword}
glance::api::enable_proxy_headers_parsing: true
glance::api::debug: {get_param: Debug}