Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29427603: Noissue - Configure discourse containers to use smtp on the host system

Created:
May 2, 2017, 9:23 p.m. by f.nicolaisen
Modified:
July 10, 2017, 11:38 a.m.
Reviewers:
mathias
CC:
f.lopez
Base URL:
https://hg1/infrastructure
Visibility:
Public.

Description

Noissue - Configure discourse containers to use smtp on the host system Note that this requires an smtp service on the host system that allows connections from docker containers. See comment in the ticket below to see how this can be configured in the host's postfix. See http://hub.eyeo.com/issues/71#note-14

Patch Set 1 #

Total comments: 6

Patch Set 2 : use host ip instead of undef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M modules/discourse_docker/manifests/init.pp View 1 1 chunk +1 line, -0 lines 0 comments Download
M modules/discourse_docker/templates/app.yml.erb View 1 chunk +1 line, -1 line 0 comments Download
M modules/private-stub/hiera/hosts/abpforum1.yaml View 1 1 chunk +1 line, -0 lines 0 comments Download
M modules/private-stub/hiera/hosts/eyeoforum1.yaml View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14
f.nicolaisen
May 2, 2017, 9:23 p.m. (2017-05-02 21:23:54 UTC) #1
f.lopez
The comment applies for both yaml files, eyeoforum1 and abpforum1 https://codereview.adblockplus.org/29427603/diff/29427604/modules/private-stub/hiera/hosts/eyeoforum1.yaml File modules/private-stub/hiera/hosts/eyeoforum1.yaml (right): https://codereview.adblockplus.org/29427603/diff/29427604/modules/private-stub/hiera/hosts/eyeoforum1.yaml#newcode13 ...
May 4, 2017, 5:10 p.m. (2017-05-04 17:10:10 UTC) #2
f.nicolaisen
https://codereview.adblockplus.org/29427603/diff/29427604/modules/private-stub/hiera/hosts/eyeoforum1.yaml File modules/private-stub/hiera/hosts/eyeoforum1.yaml (right): https://codereview.adblockplus.org/29427603/diff/29427604/modules/private-stub/hiera/hosts/eyeoforum1.yaml#newcode13 modules/private-stub/hiera/hosts/eyeoforum1.yaml:13: smtp_host: "172.17.0.1" On 2017/05/04 17:10:10, f.lopez wrote: > This ...
June 26, 2017, 10:23 a.m. (2017-06-26 10:23:52 UTC) #3
mathias
https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp File modules/discourse_docker/manifests/init.pp (right): https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp#newcode55 modules/discourse_docker/manifests/init.pp:55: $smtp_host = hiera('discourse_docker::smtp_host', undef), Since the template does not ...
July 7, 2017, 7:45 p.m. (2017-07-07 19:45:44 UTC) #4
f.nicolaisen
https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp File modules/discourse_docker/manifests/init.pp (right): https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp#newcode55 modules/discourse_docker/manifests/init.pp:55: $smtp_host = hiera('discourse_docker::smtp_host', undef), On 2017/07/07 19:45:43, mathias wrote: ...
July 10, 2017, 8:29 a.m. (2017-07-10 08:29:08 UTC) #5
mathias
https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp File modules/discourse_docker/manifests/init.pp (right): https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp#newcode55 modules/discourse_docker/manifests/init.pp:55: $smtp_host = hiera('discourse_docker::smtp_host', undef), On 2017/07/10 08:29:08, f.nicolaisen wrote: ...
July 10, 2017, 8:32 a.m. (2017-07-10 08:32:43 UTC) #6
f.nicolaisen
On 2017/07/10 08:32:43, mathias wrote: > https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp > File modules/discourse_docker/manifests/init.pp (right): > > https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp#newcode55 > ...
July 10, 2017, 8:39 a.m. (2017-07-10 08:39:00 UTC) #7
f.nicolaisen
https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp File modules/discourse_docker/manifests/init.pp (right): https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp#newcode55 modules/discourse_docker/manifests/init.pp:55: $smtp_host = hiera('discourse_docker::smtp_host', undef), On 2017/07/10 08:32:42, mathias wrote: ...
July 10, 2017, 8:39 a.m. (2017-07-10 08:39:45 UTC) #8
mathias
On 2017/07/10 08:39:45, f.nicolaisen wrote: > https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp > File modules/discourse_docker/manifests/init.pp (right): > > https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp#newcode55 > ...
July 10, 2017, 9:18 a.m. (2017-07-10 09:18:24 UTC) #9
f.nicolaisen
On 2017/07/10 09:18:24, mathias wrote: > On 2017/07/10 08:39:45, f.nicolaisen wrote: > > > https://codereview.adblockplus.org/29427603/diff/29427604/modules/discourse_docker/manifests/init.pp ...
July 10, 2017, 9:43 a.m. (2017-07-10 09:43:18 UTC) #10
mathias
On 2017/07/10 09:43:18, f.nicolaisen wrote: > On 2017/07/10 09:18:24, mathias wrote: > > On 2017/07/10 ...
July 10, 2017, 9:48 a.m. (2017-07-10 09:48:15 UTC) #11
f.nicolaisen
On 2017/07/10 09:48:15, mathias wrote: > How can one test this e-mail stuff in development ...
July 10, 2017, 9:52 a.m. (2017-07-10 09:52:49 UTC) #12
mathias
On 2017/07/10 09:52:49, f.nicolaisen wrote: > On 2017/07/10 09:48:15, mathias wrote: > > How can ...
July 10, 2017, 10:05 a.m. (2017-07-10 10:05:06 UTC) #13
f.nicolaisen
July 10, 2017, 11:38 a.m. (2017-07-10 11:38:24 UTC) #14
On 2017/07/10 10:05:06, mathias wrote:
> On 2017/07/10 09:52:49, f.nicolaisen wrote:
> > On 2017/07/10 09:48:15, mathias wrote:
> > > How can one test this e-mail stuff in development anyway? Shouldn't
whatever
> > > value is necessary for that be the default?
> > 
> > In development the host system (172.17.0.1) has postfix installed, so that
can
> > be used for testing (i.e. checking mailboxes or logs on the host system).
> 
> Ok, thank you for the info. I think that and the class being named *_docker
> makes this a valid option, better than undef at least.

OK, PS 2 changes undef to the host IP (and replaces some double quotes with
single).

Powered by Google App Engine
This is Rietveld