Skip to content

Commit a0df419

Browse files
ceonizmsmortex
andauthored
Ensure String Consistency
Co-authored-by: Romain Tartière <[email protected]>
1 parent cbd614e commit a0df419

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/resource/location.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,9 @@
319319
Hash $add_header = {},
320320
Optional[Enum['on', 'off', 'always']] $gzip_static = undef,
321321
Optional[Enum['on', 'off']] $reset_timedout_connection = undef,
322-
Optional[Variant[Array, String]] $access_log = undef,
323-
Optional[Variant[Array, String]] $error_log = undef,
324-
Optional[String] $format_log = $nginx::http_format_log,
322+
Optional[Variant[Array[String[1], 1], String[1]]] $access_log = undef,
323+
Optional[Variant[Array[String[1], 1], String[1]]] $error_log = undef,
324+
Optional[String[1]] $format_log = $nginx::http_format_log,
325325
Optional[Enum['on', 'off']] $log_not_found = undef,
326326
) {
327327
if !defined(Class['nginx']) {

0 commit comments

Comments
 (0)