diff --git a/modules/drupal/manifests/init.pp b/modules/drupal/manifests/init.pp index 3ab1116be3..bd8e1335b1 100644 --- a/modules/drupal/manifests/init.pp +++ b/modules/drupal/manifests/init.pp @@ -78,6 +78,7 @@ class drupal ( $site_ssl_enabled = false, $site_ssl_cert_file_contents = undef, $site_ssl_key_file_contents = undef, + $site_ssl_chain_file_contents = undef, $site_ssl_cert_file = '', $site_ssl_key_file = '', $site_ssl_chain_file = '', diff --git a/modules/drupal/templates/drupal.vhost.erb b/modules/drupal/templates/drupal.vhost.erb index 754491a574..487012f1d6 100644 --- a/modules/drupal/templates/drupal.vhost.erb +++ b/modules/drupal/templates/drupal.vhost.erb @@ -16,7 +16,7 @@ NameVirtualHost <%= @vhost_name %>:443 SSLProtocol All -SSLv2 -SSLv3 SSLCertificateFile <%= @site_ssl_cert_file %> SSLCertificateKeyFile <%= @site_ssl_key_file %> -<% if @site_ssl_chain_file_contents != '' %> +<% if @site_ssl_chain_file_contents %> SSLCertificateChainFile <%= @site_ssl_chain_file %> <% end %> <% end %>