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

Issue 29321355: Issue 2600 - Normalize ownership and priviliges for Nginx logs (Closed)

Created:
July 3, 2015, 12:22 p.m. by Fred
Modified:
July 16, 2015, 7:49 a.m.
Reviewers:
mathias
Visibility:
Public.

Description

Issue 2600 - Normalize ownership and priviliges for Nginx logs

Patch Set 1 #

Total comments: 6

Patch Set 2 : Approach using two execs and find #

Total comments: 2

Patch Set 3 : A more elegant solution #

Total comments: 8

Patch Set 4 : Patch-set adressing latest remarks #

Patch Set 5 : Apply 80 character line length formatting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M modules/nginx/manifests/init.pp View 1 2 3 4 2 chunks +43 lines, -0 lines 0 comments Download

Messages

Total messages: 11
Fred
July 3, 2015, 12:22 p.m. (2015-07-03 12:22:22 UTC) #1
mathias
https://codereview.adblockplus.org/29321355/diff/29321356/modules/nginx/manifests/init.pp File modules/nginx/manifests/init.pp (right): https://codereview.adblockplus.org/29321355/diff/29321356/modules/nginx/manifests/init.pp#newcode123 modules/nginx/manifests/init.pp:123: command => '/bin/chown www-data.adm /var/log/nginx/* && /bin/chmod 0640 /var/log/nginx/*', ...
July 3, 2015, 1:51 p.m. (2015-07-03 13:51:04 UTC) #2
Fred
https://codereview.adblockplus.org/29321355/diff/29321356/modules/nginx/manifests/init.pp File modules/nginx/manifests/init.pp (right): https://codereview.adblockplus.org/29321355/diff/29321356/modules/nginx/manifests/init.pp#newcode123 modules/nginx/manifests/init.pp:123: command => '/bin/chown www-data.adm /var/log/nginx/* && /bin/chmod 0640 /var/log/nginx/*', ...
July 6, 2015, 4:11 p.m. (2015-07-06 16:11:52 UTC) #3
Fred
July 6, 2015, 4:14 p.m. (2015-07-06 16:14:34 UTC) #4
mathias
While that probably works quite well,... isn't there a more elegant solution, based on lists ...
July 9, 2015, 2:28 p.m. (2015-07-09 14:28:48 UTC) #5
Fred
July 10, 2015, 10:11 a.m. (2015-07-10 10:11:40 UTC) #6
mathias
Way better. What about the 80 character limit? https://codereview.adblockplus.org/29321355/diff/29321562/modules/nginx/manifests/init.pp File modules/nginx/manifests/init.pp (right): https://codereview.adblockplus.org/29321355/diff/29321562/modules/nginx/manifests/init.pp#newcode128 modules/nginx/manifests/init.pp:128: $log_path ...
July 10, 2015, 10:57 a.m. (2015-07-10 10:57:46 UTC) #7
Fred
https://codereview.adblockplus.org/29321355/diff/29321562/modules/nginx/manifests/init.pp File modules/nginx/manifests/init.pp (right): https://codereview.adblockplus.org/29321355/diff/29321562/modules/nginx/manifests/init.pp#newcode128 modules/nginx/manifests/init.pp:128: $log_path = '/var/log/nginx' On 2015/07/10 10:57:46, mathias wrote: > ...
July 13, 2015, 12:53 p.m. (2015-07-13 12:53:01 UTC) #8
Fred
July 13, 2015, 12:55 p.m. (2015-07-13 12:55:19 UTC) #9
Fred
July 13, 2015, 1:23 p.m. (2015-07-13 13:23:31 UTC) #10
mathias
July 13, 2015, 4:34 p.m. (2015-07-13 16:34:57 UTC) #11
LGTM.

Powered by Google App Engine
This is Rietveld