Merge "Update zuul module to take params for smtp"
This commit is contained in:
commit
526613897a
@ -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 = '',
|
||||
|
@ -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 -%>
|
||||
|
Loading…
Reference in New Issue
Block a user