diff --git a/manifests/application.pp b/manifests/application.pp index 413f969..1607c99 100644 --- a/manifests/application.pp +++ b/manifests/application.pp @@ -58,6 +58,7 @@ class storyboard::application ( $enable_email = 'True', $sender_email_address = 'no-reply@storyboard.example.org', + $default_url = 'https://storyboard.example.org', $smtp_host = 'localhost', $smtp_port = 25, diff --git a/templates/storyboard.conf.erb b/templates/storyboard.conf.erb index 813c539..6f6ba98 100644 --- a/templates/storyboard.conf.erb +++ b/templates/storyboard.conf.erb @@ -160,6 +160,9 @@ reply_to = <%= @reply_to_email_address %> <% end %> +# The default url base to use in emails, if Referer is not set. +default_url = <%= @default_url %> + # The SMTP server to use. smtp_host = <%= @smtp_host %>