Skip to content

Commit d420ce7

Browse files
committed
Fix remoteip data types
Fixes: df6862a ("Simplify data types and array handling")
1 parent 48b6e04 commit d420ce7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

manifests/mod/remoteip.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@
5151
#
5252
class apache::mod::remoteip (
5353
String $header = 'X-Forwarded-For',
54-
Optional[Array[Stdlib::IP::Address]] $internal_proxy = undef,
55-
Optional[Array[Stdlib::IP::Address]] $proxy_ips = undef,
54+
Optional[Array[Stdlib::Host]] $internal_proxy = undef,
55+
Optional[Array[Stdlib::Host]] $proxy_ips = undef,
5656
Optional[Stdlib::Absolutepath] $internal_proxy_list = undef,
5757
Optional[String] $proxies_header = undef,
5858
Boolean $proxy_protocol = false,
59-
Optional[Array[Stdlib::IP::Address]] $proxy_protocol_exceptions = undef,
59+
Optional[Array[Stdlib::Host]] $proxy_protocol_exceptions = undef,
6060
Optional[Array[Stdlib::Host]] $trusted_proxy = undef,
6161
Optional[Array[Stdlib::Host]] $trusted_proxy_ips = undef,
6262
Optional[Stdlib::Absolutepath] $trusted_proxy_list = undef,

0 commit comments

Comments
 (0)