@@ -55,10 +55,6 @@ file on an haproxy load balancer.
55
55
* [ ` haproxy::sort_bind ` ] ( #haproxy--sort_bind )
56
56
* [ ` haproxy::validate_ip_addr ` ] ( #haproxy--validate_ip_addr )
57
57
58
- ### Data types
59
-
60
- * [ ` Haproxy::Ports ` ] ( #Haproxy--Ports ) : Port or list of ports for haproxy. Supports ` , ` seperated list of ports also.
61
-
62
58
## Classes
63
59
64
60
### <a name =" haproxy " ></a >` haproxy `
@@ -570,7 +566,7 @@ The haproxy service's instance name (or, the title of the
570
566
571
567
##### <a name =" -haproxy--balancermember--ports " ></a >` ports `
572
568
573
- Data type: ` Optional[Haproxy::Ports ] `
569
+ Data type: ` Optional[Variant[Array[Stdlib::Port,0],Stdlib::Port] ] `
574
570
575
571
An array or commas-separated list of ports for which the balancer member
576
572
will accept connections from the load balancer. Note that cookie values
@@ -825,7 +821,7 @@ Default value: `$name`
825
821
826
822
##### <a name =" -haproxy--frontend--ports " ></a >` ports `
827
823
828
- Data type: ` Optional[Haproxy::Ports ] `
824
+ Data type: ` Optional[Variant[Array[Stdlib::Port,0],Stdlib::Port] ] `
829
825
830
826
Ports on which the proxy will listen for connections on the ip address
831
827
specified in the ipaddress parameter. Accepts either a single
@@ -972,7 +968,7 @@ i.e. emulate Class['haproxy']
972
968
instance => 'haproxy',
973
969
collect_exported => false,
974
970
ipaddress => $::ipaddress,
975
- ports => ' 8140' ,
971
+ ports => 8140,
976
972
}
977
973
```
978
974
@@ -988,7 +984,7 @@ Multiple instances of haproxy:
988
984
instance => 'group1',
989
985
collect_exported => false,
990
986
ipaddress => $::ipaddress,
991
- ports => ' 8800' ,
987
+ ports => 8800,
992
988
requires => Package['haproxy'],
993
989
}
994
990
haproxy::instance { 'group2': }
@@ -999,7 +995,7 @@ Multiple instances of haproxy:
999
995
instance => 'group2',
1000
996
collect_exported => false,
1001
997
ipaddress => $::ipaddress,
1002
- ports => ' 9900' ,
998
+ ports => 9900,
1003
999
requires => Package['haproxy'],
1004
1000
}
1005
1001
```
@@ -1016,7 +1012,7 @@ Multiple instances of haproxy, one with a custom haproxy package:
1016
1012
instance => 'group1',
1017
1013
collect_exported => false,
1018
1014
ipaddress => $::ipaddress,
1019
- ports => ' 8800' ,
1015
+ ports => 8800,
1020
1016
requires => Package['haproxy'],
1021
1017
}
1022
1018
haproxy::instance { 'group2': }
@@ -1028,7 +1024,7 @@ Multiple instances of haproxy, one with a custom haproxy package:
1028
1024
instance => 'group2',
1029
1025
collect_exported => false,
1030
1026
ipaddress => $::ipaddress,
1031
- ports => ' 9900' ,
1027
+ ports => 9900,
1032
1028
requires => Package['haproxy'],
1033
1029
}
1034
1030
```
@@ -1331,7 +1327,7 @@ Default value: `$name`
1331
1327
1332
1328
##### <a name =" -haproxy--listen--ports " ></a >` ports `
1333
1329
1334
- Data type: ` Optional[Haproxy::Ports ] `
1330
+ Data type: ` Optional[Variant[Array[Stdlib::Port,0],Stdlib::Port] ] `
1335
1331
1336
1332
Ports on which the proxy will listen for connections on the ip address
1337
1333
specified in the ipaddress parameter. Accepts either a single
@@ -2089,11 +2085,3 @@ Data type: `String`
2089
2085
2090
2086
2091
2087
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