Skip to content

Commit

Permalink
Merge "Magnum: Switch to httpd + mod_wsgi"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Oct 30, 2024
2 parents 586d776 + b19497d commit 6f1a043
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions packstack/puppet/modules/packstack/manifests/magnum.pp
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,18 @@
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':
Expand Down

0 comments on commit 6f1a043

Please sign in to comment.