diff options
author | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2016-09-14 13:50:08 +0300 |
---|---|---|
committer | Juan Antonio Osorio Robles <jaosorior@redhat.com> | 2016-09-14 15:38:42 +0300 |
commit | af5f8926929f36546a63ab103ed2bc1bd7a9447d (patch) | |
tree | b79f687c8d66c2f9a8d41e0c6fc1481bd1c9c0ad /puppet | |
parent | 6dbcec15d35312149a5ab79c5524d292bdbcef10 (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')
-rw-r--r-- | puppet/services/glance-api.yaml | 1 |
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} |