diff --git a/manifests/wsgi/apache_api.pp b/manifests/wsgi/apache_api.pp index b27cac20..492c270c 100644 --- a/manifests/wsgi/apache_api.pp +++ b/manifests/wsgi/apache_api.pp @@ -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, } } diff --git a/releasenotes/notes/heat_api_vhost_fragment-6d69d09e3d4b4482.yaml b/releasenotes/notes/heat_api_vhost_fragment-6d69d09e3d4b4482.yaml new file mode 100644 index 00000000..c522ec63 --- /dev/null +++ b/releasenotes/notes/heat_api_vhost_fragment-6d69d09e3d4b4482.yaml @@ -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. diff --git a/spec/classes/heat_wsgi_apache_api_spec.rb b/spec/classes/heat_wsgi_apache_api_spec.rb index 3ddc89e6..fd2a7373 100644 --- a/spec/classes/heat_wsgi_apache_api_spec.rb +++ b/spec/classes/heat_wsgi_apache_api_spec.rb @@ -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 => {},