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 771a73af75
commit 5035fd3557
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -175,8 +175,9 @@ describe manifest do
it 'should configure heat class' do
should contain_class('heat').with(
'sync_db' => primary_controller,
'heat_clients_url' => "#{public_heat_protocol}://#{public_vip}:8004/v1/%(tenant_id)s",
'sync_db' => primary_controller,
'heat_clients_url' => "#{public_heat_protocol}://#{public_vip}:8004/v1/%(tenant_id)s",
'enable_proxy_headers_parsing' => true,
)
end