Merge "Update zuul module to take params for smtp"

This commit is contained in:
Jenkins 2014-05-30 21:04:09 +00:00 committed by Gerrit Code Review
commit 526613897a
2 changed files with 12 additions and 0 deletions

View File

@ -34,6 +34,10 @@ class zuul (
$statsd_host = '',
$git_email = '',
$git_name = '',
$smtp_host = 'localhost',
$smtp_port = 25,
$smtp_default_from = "zuul@${::fqdn}",
$smtp_default_to = "zuul.reports@${::fqdn}",
$swift_authurl = '',
$swift_user = '',
$swift_key = '',

View File

@ -41,3 +41,11 @@ region_name=<%= swift_region_name %>
default_container=<%= swift_default_container %>
default_logserver_prefix=<%= swift_default_logserver_prefix %>
<% end -%>
<% if smtp_host != "" -%>
[smtp]
server=<%= smtp_host %>
port=<%= smtp_port %>
default_from=<%= smtp_default_from %>
default_to=<%= smtp_default_to %>
<% end -%>