Expose vhost_custom_fragment
It is provided by the Puppet class 'openstacklib::wsgi::apache'. This change exposes it for the Nova API and metadata services. Change-Id: Ifcc1f2c882f7b03ced18f48b54138792a41c3329 Signed-off-by: Luke Short <ekultails@gmail.com>
This commit is contained in:
parent
f0cc31cecc
commit
7ef245ef7d
@ -90,6 +90,11 @@
|
||||
# { python-path => '/my/python/virtualenv' }
|
||||
# Defaults to {}
|
||||
#
|
||||
# [*vhost_custom_fragment*]
|
||||
# (optional) Passes a string of custom configuration
|
||||
# directives to be placed at the end of the vhost configuration.
|
||||
# Defaults to undef.
|
||||
#
|
||||
# == Dependencies
|
||||
#
|
||||
# requires Class['apache'] & Class['nova'] & Class['nova::api']
|
||||
@ -121,6 +126,7 @@ class nova::wsgi::apache_api (
|
||||
$access_log_format = false,
|
||||
$error_log_file = undef,
|
||||
$custom_wsgi_process_options = {},
|
||||
$vhost_custom_fragment = undef,
|
||||
) {
|
||||
|
||||
include nova::params
|
||||
@ -151,6 +157,7 @@ class nova::wsgi::apache_api (
|
||||
ssl_key => $ssl_key,
|
||||
threads => $threads,
|
||||
user => 'nova',
|
||||
vhost_custom_fragment => $vhost_custom_fragment,
|
||||
workers => $workers,
|
||||
wsgi_daemon_process => 'nova-api',
|
||||
wsgi_process_display_name => $wsgi_process_display_name,
|
||||
|
@ -76,6 +76,11 @@
|
||||
# { python-path => '/my/python/virtualenv' }
|
||||
# Defaults to {}
|
||||
#
|
||||
# [*vhost_custom_fragment*]
|
||||
# (optional) Passes a string of custom configuration
|
||||
# directives to be placed at the end of the vhost configuration.
|
||||
# Defaults to undef.
|
||||
#
|
||||
# == Dependencies
|
||||
#
|
||||
# requires Class['apache'] & Class['nova'] & Class['nova::metadata']
|
||||
@ -108,6 +113,7 @@ class nova::wsgi::apache_metadata (
|
||||
$access_log_format = false,
|
||||
$error_log_file = undef,
|
||||
$custom_wsgi_process_options = {},
|
||||
$vhost_custom_fragment = undef,
|
||||
) {
|
||||
|
||||
include nova::params
|
||||
@ -146,6 +152,7 @@ class nova::wsgi::apache_metadata (
|
||||
ssl_key => $ssl_key,
|
||||
threads => $threads,
|
||||
user => 'nova',
|
||||
vhost_custom_fragment => $vhost_custom_fragment,
|
||||
workers => $workers,
|
||||
wsgi_daemon_process => 'nova-metadata',
|
||||
wsgi_process_display_name => $wsgi_process_display_name,
|
||||
|
@ -55,6 +55,7 @@ describe 'nova::wsgi::apache_api' do
|
||||
:bind_host => '10.42.51.1',
|
||||
:api_port => 12345,
|
||||
:ssl => false,
|
||||
:vhost_custom_fragment => 'Timeout 99',
|
||||
:wsgi_process_display_name => 'nova-api',
|
||||
:workers => 37,
|
||||
:custom_wsgi_process_options => {
|
||||
@ -79,6 +80,7 @@ describe 'nova::wsgi::apache_api' do
|
||||
:ssl => false,
|
||||
:threads => 1,
|
||||
:user => 'nova',
|
||||
:vhost_custom_fragment => 'Timeout 99',
|
||||
:workers => 37,
|
||||
:wsgi_daemon_process => 'nova-api',
|
||||
:wsgi_process_display_name => 'nova-api',
|
||||
|
Loading…
Reference in New Issue
Block a user