Enable proxy headers parsing

As heat is placed behind the proxy we need to enable
proxy headers parsing, so heat is aware about
protocol used to connect to endpoint.

Change-Id: I52e49ab9d866891a81d3c08b82c50c8addd34786
Closes-Bug: #1668227
This commit is contained in:
obutenko 2017-02-27 13:33:21 +02:00
parent 03ccb82d38
commit a151347a3f
2 changed files with 8 additions and 1 deletions

View File

@ -214,7 +214,8 @@ class openstack_tasks::heat::heat {
database_max_retries => $max_retries,
kombu_compression => $kombu_compression,
memcached_servers => $memcached_servers
memcached_servers => $memcached_servers,
enable_proxy_headers_parsing => true,
}
# Engine

View File

@ -140,6 +140,12 @@ describe manifest do
)
end
it 'should configure heat class' do
should contain_class('heat').with(
'enable_proxy_headers_parsing' => true,
)
end
it 'should configure memcache for keystone authtoken' do
should contain_heat_config('keystone_authtoken/memcached_servers').with_value(memcached_servers.join(','))
end