Add new SMTP config for akkounts #480
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/479-akkounts_smtp_config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is not running on akkounts-1
closes #479
refs kosmos/akkounts#107
Cool. Left a few suggestions.
@ -5,0 +7,4 @@
"domain": "kosmos.org",
"auth_method": "plain",
"enable_starttls": "auto"
},
Why override the default values with the same values?
@ -10,4 +10,9 @@ node.default['akkounts']['lndhub']['public_url'] = nil
node.default['akkounts']['lndhub']['public_key'] = nil
node.default['akkounts']['lndhub']['postgres_db'] = 'lndhub'
node.default['akkounts']['smtp']['from_address'] = 'accounts <accounts@kosmos.org>'
I think just a lowercase "accounts" without context would probably be a bit weird in an email inbox. How about "Kosmos Accounts" for example?
@ -43,0 +50,4 @@
env[:smtp_domain] = node['akkounts']['smtp']['domain']
env[:smtp_auth_method] = node['akkounts']['smtp']['auth_method']
env[:smtp_enable_starttls] = node['akkounts']['smtp']['enable_starttls']
I think the template supports automatic namespacing. I.e. we should be able to do this:
... and it should expand to uppercase keys like
SMTP_SERVER
.Tested/running on
akkounts-1
now.