diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index d2b97a1d..52d1dbfc 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -122,7 +122,7 @@ class cinder::wsgi::apache ( $port = 8776, $bind_host = undef, $path = '/', - $ssl = true, + $ssl = undef, $workers = $::os_workers, $ssl_cert = undef, $ssl_key = undef, @@ -145,11 +145,16 @@ class cinder::wsgi::apache ( $vhost_custom_fragment = undef, ) { + if $ssl == undef { + warning('Default of the ssl parameter will be changed in a future release') + } + $ssl_real = pick($ssl, true) + include cinder::deps include cinder::params include apache include apache::mod::wsgi - if $ssl { + if $ssl_real { include apache::mod::ssl } @@ -160,7 +165,7 @@ class cinder::wsgi::apache ( path => $path, priority => $priority, servername => $servername, - ssl => $ssl, + ssl => $ssl_real, ssl_ca => $ssl_ca, ssl_cert => $ssl_cert, ssl_certs_dir => $ssl_certs_dir, diff --git a/releasenotes/notes/prepare-to-change-apache-ssl-9b553e3246b4658f.yaml b/releasenotes/notes/prepare-to-change-apache-ssl-9b553e3246b4658f.yaml new file mode 100644 index 00000000..27e9dbf6 --- /dev/null +++ b/releasenotes/notes/prepare-to-change-apache-ssl-9b553e3246b4658f.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - | + Default value of the ``cinder::wsgi::apache::ssl`` parameter will be + changed from ``true`` to ``false`` in a future release. Make sure + the parameter is set to the desired value.