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

Issue 29327588: Issue 2864 - Introduce class logstash (Closed)

Created:
Sept. 14, 2015, 7:23 a.m. by mathias
Modified:
Oct. 30, 2015, 10:12 a.m.
Reviewers:
Felix Dahlke
CC:
Fred
Visibility:
Public.

Description

Issue 2864 - Introduce class logstash

Patch Set 1 #

Total comments: 11

Patch Set 2 : Issue 2864 - Address feedback from code-review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+294 lines, -0 lines) Patch
A hiera/roles/logstashserver.yaml View 1 chunk +5 lines, -0 lines 0 comments Download
A modules/logstash/files/logstash.sh View 1 chunk +3 lines, -0 lines 0 comments Download
A modules/logstash/manifests/fragment.pp View 1 chunk +67 lines, -0 lines 0 comments Download
A modules/logstash/manifests/init.pp View 1 1 chunk +109 lines, -0 lines 0 comments Download
A modules/logstash/manifests/pipeline.pp View 1 1 chunk +75 lines, -0 lines 0 comments Download
A modules/logstash/templates/elastic-logstash-gpg-key.erb View 1 chunk +31 lines, -0 lines 0 comments Download
M modules/private-stub/hiera/hosts.yaml View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 5
mathias
Sept. 14, 2015, 7:23 a.m. (2015-09-14 07:23:30 UTC) #1
Felix Dahlke
Looks good, just a few smaller things. https://codereview.adblockplus.org/29327588/diff/29327589/modules/logstash/manifests/init.pp File modules/logstash/manifests/init.pp (right): https://codereview.adblockplus.org/29327588/diff/29327589/modules/logstash/manifests/init.pp#newcode58 modules/logstash/manifests/init.pp:58: location => ...
Oct. 7, 2015, 10:46 a.m. (2015-10-07 10:46:33 UTC) #2
mathias
https://codereview.adblockplus.org/29327588/diff/29327589/modules/logstash/manifests/init.pp File modules/logstash/manifests/init.pp (right): https://codereview.adblockplus.org/29327588/diff/29327589/modules/logstash/manifests/init.pp#newcode58 modules/logstash/manifests/init.pp:58: location => "http://packages.elasticsearch.org/logstash/$version/debian", On 2015/10/07 10:46:32, Felix Dahlke wrote: ...
Oct. 20, 2015, 1:03 p.m. (2015-10-20 13:03:34 UTC) #3
mathias
Issue 2864 - Fix grammar nit in logstash::pipeline documentation Issue 2864 - Remove $logstash::pipeline::description parameter ...
Oct. 20, 2015, 1:04 p.m. (2015-10-20 13:04:57 UTC) #4
Felix Dahlke
Oct. 30, 2015, 9:43 a.m. (2015-10-30 09:43:10 UTC) #5
LGTM

https://codereview.adblockplus.org/29327588/diff/29327589/modules/logstash/ma...
File modules/logstash/manifests/init.pp (right):

https://codereview.adblockplus.org/29327588/diff/29327589/modules/logstash/ma...
modules/logstash/manifests/init.pp:93: file {'/usr/local/bin/logstash':
On 2015/10/20 13:03:33, mathias wrote:
> On 2015/10/07 10:46:32, Felix Dahlke wrote:
> > Would a symlink do?
> > 
> > If not: AFAIK it's a sort of convention to not add ".sh" to executable
> scripts.
> > We always do that with our Python scripts so they're runnable on Windows
> > (although many of them never need to run there), but I guess there's no
reason
> > to do that with a shell script. No strong opinion however, just a remark.
> 
> No, a symbolic link won't do. The /opt/logstash/bin/logstash script under the
> hood uses the path of $0 as-is, in order to determine the location of
additional
> resources.

Acknowledged.

Powered by Google App Engine
This is Rietveld