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

Issue 29488603: #2007 - Use ensure_resources() to define $nginx::modules (Closed)

Created:
July 13, 2017, 11 p.m. by f.lopez
Modified:
July 21, 2017, 4:59 p.m.
Reviewers:
mathias
CC:
Fred
Visibility:
Public.

Description

#2007 - Use ensure_resources() to define $nginx::modules For modules that doesn't require to set any variable, the name of the module alone should suffice, create_resources doesn't support a suitable default to create a hash, however, ensure_resources allows for a suitable default that merges into the string creating a hash, if the same variable is set via hiera, the hiera variable has preference

Patch Set 1 #

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

Messages

Total messages: 8
f.lopez
July 13, 2017, 11 p.m. (2017-07-13 23:00:41 UTC) #1
mathias
So all of that cryptic explanation and implementation-details-based hacking only to avoid "key: {}" in ...
July 14, 2017, 6:18 a.m. (2017-07-14 06:18:33 UTC) #2
f.lopez
On 2017/07/14 06:18:33, mathias wrote: > So all of that cryptic explanation and implementation-details-based hacking ...
July 14, 2017, 3:14 p.m. (2017-07-14 15:14:56 UTC) #3
mathias
On 2017/07/14 15:14:56, f.lopez wrote: > well, when you put it like that... but yes. ...
July 14, 2017, 3:45 p.m. (2017-07-14 15:45:35 UTC) #4
f.lopez
On 2017/07/14 15:45:35, mathias wrote: > On 2017/07/14 15:14:56, f.lopez wrote: > > well, when ...
July 14, 2017, 3:54 p.m. (2017-07-14 15:54:01 UTC) #5
mathias
On 2017/07/14 15:54:01, f.lopez wrote: > That is fair, what about: "Avoid explicit empty hash ...
July 14, 2017, 4:34 p.m. (2017-07-14 16:34:23 UTC) #6
f.lopez
On 2017/07/14 16:34:23, mathias wrote: > On 2017/07/14 15:54:01, f.lopez wrote: > > That is ...
July 14, 2017, 4:40 p.m. (2017-07-14 16:40:50 UTC) #7
mathias
July 14, 2017, 4:45 p.m. (2017-07-14 16:45:05 UTC) #8
LGTM.

Powered by Google App Engine
This is Rietveld