Skip to content

Commit de2aa13

Browse files
authored
Merge pull request #2458 from ekohl/fix-remoteip
Fix remoteip data types
2 parents 48b6e04 + d420ce7 commit de2aa13

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)