Merge "Heat: Switch to httpd + mod_wsgi"

This commit is contained in:
Zuul 2024-10-30 08:15:19 +00:00 committed by Gerrit Code Review
commit 81df32e223
2 changed files with 21 additions and 4 deletions

View File

@ -2,11 +2,19 @@ class packstack::heat ()
{
create_resources(packstack::firewall, lookup('FIREWALL_HEAT_RULES', undef, undef, {}))
$bind_host = lookup('CONFIG_IP_VERSION') ? {
'ipv6' => '::0',
default => '0.0.0.0',
}
class { 'heat::api':
service_name => 'httpd',
}
class { 'heat::wsgi::apache_api':
bind_host => $bind_host,
workers => lookup('CONFIG_SERVICE_WORKERS'),
}
$keystone_admin = lookup('CONFIG_KEYSTONE_ADMIN_USERNAME')
$heat_cfg_ctrl_host = lookup('CONFIG_KEYSTONE_HOST_URL')
class { 'heat::engine':

View File

@ -2,7 +2,16 @@ class packstack::heat::cfn ()
{
create_resources(packstack::firewall, lookup('FIREWALL_HEAT_CFN_RULES', undef, undef, {}))
$bind_host = lookup('CONFIG_IP_VERSION') ? {
'ipv6' => '::0',
default => '0.0.0.0',
}
class { 'heat::api_cfn':
service_name => 'httpd',
}
class { 'heat::wsgi::apache_api_cfn':
bind_host => $bind_host,
workers => lookup('CONFIG_SERVICE_WORKERS'),
}