Magnum: Switch to httpd + mod_wsgi

Change-Id: I7bb0de0af3dc31a2b2b5db0ab2edb03d2f781156
This commit is contained in:
Takashi Kajinami 2024-10-26 02:40:11 +09:00
parent a55614ca40
commit b19497de49

View File

@ -24,9 +24,18 @@ class packstack::magnum ()
project_domain_name => 'Default',
}
$bind_host = lookup('CONFIG_IP_VERSION') ? {
'ipv6' => '::0',
default => '0.0.0.0',
# TO-DO(mmagr): Add IPv6 support when hostnames are used
}
class { 'magnum::api':
enabled => true,
host => '0.0.0.0'
service_name => 'httpd',
}
class { 'magnum::wsgi::apache':
bind_host => $bind_host,
workers => lookup('CONFIG_SERVICE_WORKERS'),
}
class { 'magnum::conductor':