Define reply_to_email_address
Puppet 4 was complaining that this variable was undefined. Define it to make this warning go away. We switch away from scope.lookupvar for consistency with the rest of the var lookups in this file and to keep our conditional short. Change-Id: I64cc9660a72bf5ab096c9c6f29080a838df5ddea
This commit is contained in:
parent
98c85cb0a7
commit
f668e192ac
@ -61,6 +61,7 @@ class storyboard::application (
|
||||
$default_url = 'https://storyboard.example.org',
|
||||
$smtp_host = 'localhost',
|
||||
$smtp_port = 25,
|
||||
$reply_to_email_address = undef,
|
||||
|
||||
) {
|
||||
|
||||
|
@ -153,7 +153,7 @@ 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 %>
|
||||
<% if @reply_to_email_address != :undef and @reply_to_email_address != nil %>
|
||||
|
||||
# The email address of the Reply-To header (optional).
|
||||
reply_to = <%= @reply_to_email_address %>
|
||||
|
Loading…
Reference in New Issue
Block a user