Commit 98df9099388f542173824dac6fb7512805142f25
1 parent
f5716057
Exists in
master
and in
2 other branches
Allows smtp parameter openssl_verify_mode. Fixes #211
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
CHANGELOG
@@ -14,6 +14,7 @@ omnibus-gitlab repository. | @@ -14,6 +14,7 @@ omnibus-gitlab repository. | ||
14 | - Recursively set the SELinux type of ~git/.ssh | 14 | - Recursively set the SELinux type of ~git/.ssh |
15 | - Add support for the LDAP admin_group attribute (GitLab EE) | 15 | - Add support for the LDAP admin_group attribute (GitLab EE) |
16 | - Fix TLS issue in SMTP email configuration (provides new attribute tls) (Ricardo Langner) | 16 | - Fix TLS issue in SMTP email configuration (provides new attribute tls) (Ricardo Langner) |
17 | +- Add openssl_verify_mode to SMTP email configuration (Dionysius Marquis) | ||
17 | - Support external Redis instances (sponsored by O'Reilly Media) | 18 | - Support external Redis instances (sponsored by O'Reilly Media) |
18 | - Only reject SMTP attributes which are nil | 19 | - Only reject SMTP attributes which are nil |
19 | - Support changing the 'restricted_visibility_levels' option (Javier Palomo) | 20 | - Support changing the 'restricted_visibility_levels' option (Javier Palomo) |
files/gitlab-cookbooks/gitlab/templates/default/smtp_settings.rb.erb
@@ -7,7 +7,7 @@ if Rails.env.production? | @@ -7,7 +7,7 @@ if Rails.env.production? | ||
7 | 7 | ||
8 | ActionMailer::Base.smtp_settings = { | 8 | ActionMailer::Base.smtp_settings = { |
9 | authentication: <%= @smtp_authentication.to_s.to_sym.inspect %>, | 9 | authentication: <%= @smtp_authentication.to_s.to_sym.inspect %>, |
10 | -<% %w{ address port user_name password domain enable_starttls_auto tls }.each do |key| %> | 10 | +<% %w{ address port user_name password domain enable_starttls_auto tls openssl_verify_mode }.each do |key| %> |
11 | <% value = node['gitlab']['gitlab-rails']["smtp_#{key}"] %> | 11 | <% value = node['gitlab']['gitlab-rails']["smtp_#{key}"] %> |
12 | <% unless value.nil? %> | 12 | <% unless value.nil? %> |
13 | <%= "#{key}: #{value.inspect}," %> | 13 | <%= "#{key}: #{value.inspect}," %> |