Browse Source

Add vhost_custom_fragment option to wsgi/apache_api

Change-Id: I7da55899b9108daced7adb8f82bdb58fcf97aa09
(cherry picked from commit 9fce8d211e)
changes/92/704192/1
Emilien Macchi 1 month ago
parent
commit
6a18c968c5
3 changed files with 12 additions and 0 deletions
  1. +6
    -0
      manifests/wsgi/apache_api.pp
  2. +5
    -0
      releasenotes/notes/heat_api_vhost_fragment-6d69d09e3d4b4482.yaml
  3. +1
    -0
      spec/classes/heat_wsgi_apache_api_spec.rb

+ 6
- 0
manifests/wsgi/apache_api.pp View File

@@ -85,6 +85,10 @@
# (optional) Name of the WSGI process display-name.
# Defaults to undef
#
# [*vhost_custom_fragment*]
# (optional) Additional vhost configuration, if applicable.
# Defaults to undef
#
# == Dependencies
#
# requires Class['apache'] & Class['heat']
@@ -116,6 +120,7 @@ class heat::wsgi::apache_api (
$error_log_file = undef,
$custom_wsgi_process_options = {},
$wsgi_process_display_name = undef,
$vhost_custom_fragment = undef,
) {
heat::wsgi::apache { 'api':
port => $port,
@@ -138,5 +143,6 @@ class heat::wsgi::apache_api (
access_log_format => $access_log_format,
error_log_file => $error_log_file,
wsgi_process_display_name => $wsgi_process_display_name,
vhost_custom_fragment => $vhost_custom_fragment,
}
}

+ 5
- 0
releasenotes/notes/heat_api_vhost_fragment-6d69d09e3d4b4482.yaml View File

@@ -0,0 +1,5 @@
---
features:
- |
vhost_custom_fragment was added to heat::wsgi::apache_api so one can
configure custom fragments for the Heat API vhost.

+ 1
- 0
spec/classes/heat_wsgi_apache_api_spec.rb View File

@@ -19,6 +19,7 @@ describe 'heat::wsgi::apache_api' do
:ssl_crl_path => nil,
:ssl_certs_dir => nil,
:wsgi_process_display_name => nil,
:vhost_custom_fragment => nil,
:threads => 1,
:priority => 10,
:custom_wsgi_process_options => {},


Loading…
Cancel
Save