Update zuul module to take params for smtp
Allow setting the smtp configuration options in the zuul puppet module Change-Id: I1a603e64b87cf05cebaaca88334c19eeb09bec5f
This commit is contained in:
parent
9193bbb583
commit
47fd1e7d1b
@ -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 = '',
|
||||
|
@ -48,3 +48,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…
x
Reference in New Issue
Block a user