apache+mod_wsgi: Disable SSL by default
During the previous cycle, a warning message was added to inform users of this change. Now the default value is updated so that SSL is disabled by default. Change-Id: I17cd1a7adcc09168d3f53f44787858ef1d89a0a7
This commit is contained in:
parent
f8524ec308
commit
411e1ea3fe
@ -38,7 +38,7 @@
|
||||
#
|
||||
# [*ssl*]
|
||||
# Use ssl ? (boolean)
|
||||
# Optional. Defaults to true
|
||||
# Optional. Defaults to false
|
||||
#
|
||||
# [*workers*]
|
||||
# Number of WSGI workers to spawn.
|
||||
@ -101,7 +101,7 @@ class zaqar::wsgi::apache (
|
||||
$port = 8888,
|
||||
$bind_host = undef,
|
||||
$path = '/',
|
||||
$ssl = undef,
|
||||
$ssl = false,
|
||||
$workers = $::os_workers,
|
||||
$ssl_cert = undef,
|
||||
$ssl_key = undef,
|
||||
@ -119,11 +119,6 @@ class zaqar::wsgi::apache (
|
||||
$custom_wsgi_process_options = {},
|
||||
) {
|
||||
|
||||
if $ssl == undef {
|
||||
warning('Default of the ssl parameter will be changed in a future release')
|
||||
}
|
||||
$ssl_real = pick($ssl, true)
|
||||
|
||||
include zaqar::deps
|
||||
include zaqar::params
|
||||
|
||||
@ -136,7 +131,7 @@ class zaqar::wsgi::apache (
|
||||
path => $path,
|
||||
priority => $priority,
|
||||
servername => $servername,
|
||||
ssl => $ssl_real,
|
||||
ssl => $ssl,
|
||||
ssl_ca => $ssl_ca,
|
||||
ssl_cert => $ssl_cert,
|
||||
ssl_certs_dir => $ssl_certs_dir,
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Default value of the ``zaqar::wsgi::apache::ssl`` parameter has been
|
||||
changed from ``true`` to ``false`` and now ssl is disabled by default.
|
@ -10,7 +10,7 @@ describe 'zaqar::wsgi::apache' do
|
||||
:group => 'zaqar',
|
||||
:path => '/',
|
||||
:servername => facts[:fqdn],
|
||||
:ssl => true,
|
||||
:ssl => false,
|
||||
:threads => 1,
|
||||
:user => 'zaqar',
|
||||
:workers => facts[:os_workers],
|
||||
@ -31,7 +31,7 @@ describe 'zaqar::wsgi::apache' do
|
||||
:servername => 'dummy.host',
|
||||
:bind_host => '10.42.51.1',
|
||||
:port => 12345,
|
||||
:ssl => false,
|
||||
:ssl => true,
|
||||
:wsgi_process_display_name => 'zaqar-server',
|
||||
:workers => 37,
|
||||
:access_log_file => '/var/log/httpd/access_log',
|
||||
@ -49,7 +49,7 @@ describe 'zaqar::wsgi::apache' do
|
||||
:group => 'zaqar',
|
||||
:path => '/',
|
||||
:servername => 'dummy.host',
|
||||
:ssl => false,
|
||||
:ssl => true,
|
||||
:threads => 1,
|
||||
:user => 'zaqar',
|
||||
:workers => 37,
|
||||
|
Loading…
Reference in New Issue
Block a user