diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index 04b120d..438ff34 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -116,9 +116,17 @@ class placement::wsgi::apache ( $access_log_file = false, $access_log_format = false, $error_log_file = undef, - $vhost_custom_fragment = undef, + $vhost_custom_fragment = undef, ) { + if $api_port == 80 { + warning('The default api_port will be changed from 80 to 8778 in a future release.') + } + + if $path == '/placement' { + warning('The default path will be changed from /placement to / in a future release.') + } + include placement::params include apache include apache::mod::wsgi diff --git a/releasenotes/notes/prep-change-port-and-path-79b34493e2bd4b57.yaml b/releasenotes/notes/prep-change-port-and-path-79b34493e2bd4b57.yaml new file mode 100644 index 0000000..0fc826d --- /dev/null +++ b/releasenotes/notes/prep-change-port-and-path-79b34493e2bd4b57.yaml @@ -0,0 +1,10 @@ +--- +upgrade: + - | + Defaults of the following parameters will be changed in a future release. + Please set the parameter explicitly to keep the value during upgrade. + Also it is likely that endpoint parameters in ``nova::keystone::auth`` + should be also updated. + + - ``placement::wsgi::apache::api_port``: from ``80`` to ``8778`` + - ``placement::wsgi::apache::path``: from ``/placement`` to ``/``