diff --git a/files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb b/files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb index a407bc2..05671bd 100644 --- a/files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb +++ b/files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb @@ -7,7 +7,7 @@ if Rails.env.production? ActionMailer::Base.smtp_settings = { authentication: <%= @smtp_authentication.to_s.to_sym.inspect %>, -<% %w{ address port user_name password domain enable_starttls_auto }.each do |key| %> +<% %w{ address port user_name password domain enable_starttls_auto tls }.each do |key| %> <% if value = node['gitlab']['gitlab-rails']["smtp_#{key}"] %> <%= "#{key}: #{value.inspect}," %> <% end %> -- libgit2 0.21.2