Add new SMTP config for akkounts #480
No reviewers
Labels
No Label
service
accounts
service
discourse
service
drone-ci
service
email
service
garage
service
gitea
service
ipfs
service
mastodon
service
postgres
service
remotestorage
service
wiki
service
xmpp
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
release
major
release
minor
release
patch
security
ui/ux
wontfix
No Milestone
No project
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kosmos/chef#480
Loading…
Reference in New Issue
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.