Skip to content

Commit e2ab619

Browse files
committed
sentinel.pp: puppet-lint fix: only Optional params should default to undef
1 parent afdfe77 commit e2ab619

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1765,7 +1765,7 @@ Default value: `undef`
17651765

17661766
##### <a name="-redis--sentinel--sentinel_bind"></a>`sentinel_bind`
17671767

1768-
Data type: `Variant[Undef, Stdlib::IP::Address, Array[Stdlib::IP::Address]]`
1768+
Data type: `Optional[Variant[Undef, Stdlib::IP::Address, Array[Stdlib::IP::Address]]]`
17691769

17701770
Allow optional sentinel server ip binding. Can help overcome
17711771
issues arising from protect-mode added Redis 3.2

manifests/sentinel.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
Optional[Enum['yes', 'no']] $sentinel_announce_hostnames = undef,
184184
Optional[Stdlib::Host] $sentinel_announce_ip = undef,
185185
Optional[Stdlib::Port] $sentinel_announce_port = undef,
186-
Variant[Undef, Stdlib::IP::Address, Array[Stdlib::IP::Address]] $sentinel_bind = undef,
186+
Optional[Variant[Undef, Stdlib::IP::Address, Array[Stdlib::IP::Address]]] $sentinel_bind = undef,
187187
Stdlib::Port $sentinel_port = 26379,
188188
Optional[Enum['yes', 'no']] $sentinel_resolve_hostnames = undef,
189189
Optional[Stdlib::Port::Unprivileged] $sentinel_tls_port = undef,

0 commit comments

Comments
 (0)