diff --git a/manifests/wsgi/apache.pp b/manifests/wsgi/apache.pp index ba941b9..94e3354 100644 --- a/manifests/wsgi/apache.pp +++ b/manifests/wsgi/apache.pp @@ -47,7 +47,7 @@ # # [*priority*] # (Optional) The priority for the vhost. -# Defaults to '10' +# Defaults to 10 # # [*threads*] # (Optional) The number of threads for the vhost. @@ -69,11 +69,11 @@ # # [*access_log_file*] # (Optional) The log file name for the virtualhost. -# Defaults to false +# Defaults to undef # # [*access_log_format*] # (Optional) The log format for the virtualhost. -# Defaults to false +# Defaults to undef # # [*error_log_file*] # (Optional) The error log file name for the virtualhost. @@ -116,9 +116,9 @@ class magnum::wsgi::apache ( $ssl_certs_dir = undef, $wsgi_process_display_name = undef, $threads = 1, - $priority = '10', - $access_log_file = false, - $access_log_format = false, + $priority = 10, + $access_log_file = undef, + $access_log_format = undef, $error_log_file = undef, $custom_wsgi_process_options = {}, $headers = undef, diff --git a/spec/classes/magnum_wsgi_apache_spec.rb b/spec/classes/magnum_wsgi_apache_spec.rb index 780116e..0a50854 100644 --- a/spec/classes/magnum_wsgi_apache_spec.rb +++ b/spec/classes/magnum_wsgi_apache_spec.rb @@ -9,6 +9,7 @@ describe 'magnum::wsgi::apache' do :bind_port => 9511, :group => 'magnum', :path => '/', + :priority => 10, :servername => facts[:fqdn], :ssl => false, :threads => 1, @@ -22,8 +23,8 @@ describe 'magnum::wsgi::apache' do :headers => nil, :request_headers => nil, :custom_wsgi_process_options => {}, - :access_log_file => false, - :access_log_format => false, + :access_log_file => nil, + :access_log_format => nil, )} end