Add config template for the email plugin
Change-Id: Iafa85f86cc10f0cd4c45224e45038a9d5594f9d7
This commit is contained in:
parent
766ae17b21
commit
9d27b4e5d6
@ -54,6 +54,11 @@ class storyboard::application (
|
||||
|
||||
$enable_cron = 'True',
|
||||
|
||||
$enable_email = 'True',
|
||||
$sender_email_address = 'no-reply@storyboard.openstack.org',
|
||||
$smtp_host = 'localhost',
|
||||
$smtp_port = 25,
|
||||
|
||||
) {
|
||||
|
||||
# Variables
|
||||
|
@ -145,3 +145,44 @@ rabbit_virtual_host = <%= @rabbitmq_vhost %>
|
||||
# Enable/Disable the token cleaning cron plugin. This requires cron
|
||||
# management to be enabled.
|
||||
# enable = <%= @enable_token_cleanup %>
|
||||
|
||||
[plugin_email]
|
||||
# Enable, or disable, the notification email plugin.
|
||||
enable = <%= @enable_email %>
|
||||
|
||||
# The email address from which storyboard will send its messages.
|
||||
sender = <%= @sender_email_address %>
|
||||
|
||||
<% if scope.lookupvar('storyboard::application::reply_to_email_address') != :undef %>
|
||||
|
||||
# The email address of the Reply-To header (optional).
|
||||
reply_to = <%= @reply_to_email_address %>
|
||||
|
||||
<% end %>
|
||||
|
||||
# The SMTP server to use.
|
||||
smtp_host = <%= @smtp_host %>
|
||||
|
||||
# The SMTP Server Port to connect to (default 25).
|
||||
smtp_port = <%= @smtp_port %>
|
||||
|
||||
# The SMTP socket timeout, in seconds
|
||||
# smtp_timeout = 10
|
||||
|
||||
# The FQDN of the sending host when identifying itself to the SMTP server
|
||||
# (optional).
|
||||
# smtp_local_hostname =
|
||||
|
||||
# Path to the SSL Keyfile, when using ESMTP. Please make sure the storyboard
|
||||
# client can read this file.
|
||||
# smtp_ssl_keyfile =
|
||||
|
||||
# Path to the SSL Certificate, when using ESMTP. Please make sure the
|
||||
# storyboard client can read this file.
|
||||
# smtp_ssl_certfile =
|
||||
|
||||
# Username/login for the SMTP server.
|
||||
# smtp_user =
|
||||
|
||||
# Password for the SMTP server.
|
||||
# smtp_password =
|
||||
|
Loading…
x
Reference in New Issue
Block a user