Merge "Allow puppet to configure the Gerrit's sendmail.includeDiff option"

This commit is contained in:
Jenkins
2016-01-04 23:05:26 +00:00
committed by Gerrit Code Review
2 changed files with 7 additions and 0 deletions

View File

@@ -29,6 +29,8 @@
# The smtp server that Gerrit should send mail through.
# sendemail_from:
# gerrit.conf value for sendemail.from.
# sendemail_indclude_diff:
# Config emails to includes the complete unified diff of the change
# database_poollimit:
# container_heaplimit:
# container_javaoptions:
@@ -144,6 +146,7 @@ class gerrit(
$email = '',
$smtpserver = 'localhost',
$sendemail_from = 'MIXED',
$sendemail_include_diff = false,
$database_poollimit = '',
$container_heaplimit = '',
$container_javaoptions = '',
@@ -313,6 +316,9 @@ class gerrit(
# Template uses:
# - $mysql_host
# - $canonicalweburl
# - $smtpserver
# - $sendemail_from
# - $sendemail_include_diff
# - $database_poollimit
# - $gerrit_contributor_agreement
# - $gerrit_auth_type

View File

@@ -42,6 +42,7 @@
[sendemail]
smtpServer = <%= @smtpserver %>
from = <%= @sendemail_from %>
includeDiff = <%= @sendemail_include_diff %>
[container]
user = gerrit2
javaHome = <%= @java_home %>