@@ -55,10 +55,6 @@ file on an haproxy load balancer.
5555* [ ` haproxy::sort_bind ` ] ( #haproxy--sort_bind )
5656* [ ` haproxy::validate_ip_addr ` ] ( #haproxy--validate_ip_addr )
5757
58- ### Data types
59-
60- * [ ` Haproxy::Ports ` ] ( #Haproxy--Ports ) : Port or list of ports for haproxy. Supports ` , ` seperated list of ports also.
61-
6258## Classes
6359
6460### <a name =" haproxy " ></a >` haproxy `
@@ -570,7 +566,7 @@ The haproxy service's instance name (or, the title of the
570566
571567##### <a name =" -haproxy--balancermember--ports " ></a >` ports `
572568
573- Data type: ` Optional[Haproxy::Ports ] `
569+ Data type: ` Optional[Variant[Array[Stdlib::Port,0],Stdlib::Port] ] `
574570
575571An array or commas-separated list of ports for which the balancer member
576572 will accept connections from the load balancer. Note that cookie values
@@ -825,7 +821,7 @@ Default value: `$name`
825821
826822##### <a name =" -haproxy--frontend--ports " ></a >` ports `
827823
828- Data type: ` Optional[Haproxy::Ports ] `
824+ Data type: ` Optional[Variant[Array[Stdlib::Port,0],Stdlib::Port] ] `
829825
830826Ports on which the proxy will listen for connections on the ip address
831827 specified in the ipaddress parameter. Accepts either a single
@@ -972,7 +968,7 @@ i.e. emulate Class['haproxy']
972968 instance => 'haproxy',
973969 collect_exported => false,
974970 ipaddress => $::ipaddress,
975- ports => ' 8140' ,
971+ ports => 8140,
976972 }
977973```
978974
@@ -988,7 +984,7 @@ Multiple instances of haproxy:
988984 instance => 'group1',
989985 collect_exported => false,
990986 ipaddress => $::ipaddress,
991- ports => ' 8800' ,
987+ ports => 8800,
992988 requires => Package['haproxy'],
993989 }
994990 haproxy::instance { 'group2': }
@@ -999,7 +995,7 @@ Multiple instances of haproxy:
999995 instance => 'group2',
1000996 collect_exported => false,
1001997 ipaddress => $::ipaddress,
1002- ports => ' 9900' ,
998+ ports => 9900,
1003999 requires => Package['haproxy'],
10041000 }
10051001```
@@ -1016,7 +1012,7 @@ Multiple instances of haproxy, one with a custom haproxy package:
10161012 instance => 'group1',
10171013 collect_exported => false,
10181014 ipaddress => $::ipaddress,
1019- ports => ' 8800' ,
1015+ ports => 8800,
10201016 requires => Package['haproxy'],
10211017 }
10221018 haproxy::instance { 'group2': }
@@ -1028,7 +1024,7 @@ Multiple instances of haproxy, one with a custom haproxy package:
10281024 instance => 'group2',
10291025 collect_exported => false,
10301026 ipaddress => $::ipaddress,
1031- ports => ' 9900' ,
1027+ ports => 9900,
10321028 requires => Package['haproxy'],
10331029 }
10341030```
@@ -1331,7 +1327,7 @@ Default value: `$name`
13311327
13321328##### <a name =" -haproxy--listen--ports " ></a >` ports `
13331329
1334- Data type: ` Optional[Haproxy::Ports ] `
1330+ Data type: ` Optional[Variant[Array[Stdlib::Port,0],Stdlib::Port] ] `
13351331
13361332Ports on which the proxy will listen for connections on the ip address
13371333 specified in the ipaddress parameter. Accepts either a single
@@ -2089,11 +2085,3 @@ Data type: `String`
20892085
20902086
20912087
2092- ## Data types
2093-
2094- ### <a name =" Haproxy--Ports " ></a >` Haproxy::Ports `
2095-
2096- Port or list of ports for haproxy. Supports ` , ` seperated list of ports also.
2097-
2098- Alias of ` Variant[Array[Variant[Pattern[/^[0-9]+$/],Stdlib::Port],0], Pattern[/^[0-9,]+$/], Stdlib::Port] `
2099-
0 commit comments