diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-11 12:23:47 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-05-11 12:23:47 +0200 |
commit | 5a5b32d87d06cfc6dce82cf83cb023ed2764fc45 (patch) | |
tree | 36261d7fc4cc03ed01b9966b062fcbb48fc4cc89 /modules/role/templates/cryptoportfolio | |
parent | 71084626fd33f8e8be3ff779dfe26c0055147214 (diff) | |
download | Puppet-5a5b32d87d06cfc6dce82cf83cb023ed2764fc45.tar.gz Puppet-5a5b32d87d06cfc6dce82cf83cb023ed2764fc45.tar.zst Puppet-5a5b32d87d06cfc6dce82cf83cb023ed2764fc45.zip |
Add mail configuration for cryptoportfolio
Diffstat (limited to 'modules/role/templates/cryptoportfolio')
-rw-r--r-- | modules/role/templates/cryptoportfolio/api_conf.toml.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/role/templates/cryptoportfolio/api_conf.toml.erb b/modules/role/templates/cryptoportfolio/api_conf.toml.erb index d806778..6bed739 100644 --- a/modules/role/templates/cryptoportfolio/api_conf.toml.erb +++ b/modules/role/templates/cryptoportfolio/api_conf.toml.erb | |||
@@ -34,3 +34,11 @@ free_sms_pass="<%= @cf_front_app_free_sms_pass %>" | |||
34 | 34 | ||
35 | [app] | 35 | [app] |
36 | public_dir="../web/build/static" | 36 | public_dir="../web/build/static" |
37 | |||
38 | <%- if !@smtp_host.nil? && @smtp_host != "" -%> | ||
39 | [mail] | ||
40 | login="<%= @smtp_login %>" | ||
41 | address_from="<%= @mail_from %>" | ||
42 | password="<%= @smtp_password %>" | ||
43 | smtp_address="<%= @smtp_host %>" | ||
44 | <%- end -%> | ||