File tree Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Expand file tree Collapse file tree 4 files changed +76
-0
lines changed Original file line number Diff line number Diff line change
1
+ # @summary
2
+ # Installs `lbmethod_bybusyness`.
3
+ #
4
+ # @param apache_version
5
+ # Version of Apache to install module on.
6
+ #
7
+ # @see https://httpd.apache.org/docs/2.4/mod/mod_lbmethod_bybusyness.html for additional documentation.
8
+ #
9
+ class apache::mod::lbmethod_bybusyness (
10
+ Optional[String] $apache_version = $apache::apache_version,
11
+ ) {
12
+ require apache::mod::proxy_balancer
13
+
14
+ if versioncmp($apache_version , ' 2.3' ) >= 0 {
15
+ apache::mod { 'lbmethod_bybusyness' : }
16
+ } else {
17
+ fail(' Unsuported version for mod lbmethod_bybusyness' )
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ # @summary
2
+ # Installs `lbmethod_byrequests`.
3
+ #
4
+ # @param apache_version
5
+ # Version of Apache to install module on.
6
+ #
7
+ # @see https://httpd.apache.org/docs/2.4/mod/mod_lbmethod_byrequests.html for additional documentation.
8
+ #
9
+ class apache::mod::lbmethod_byrequests (
10
+ Optional[String] $apache_version = $apache::apache_version,
11
+ ) {
12
+ require apache::mod::proxy_balancer
13
+
14
+ if versioncmp($apache_version , ' 2.3' ) >= 0 {
15
+ apache::mod { 'lbmethod_byrequests' : }
16
+ } else {
17
+ fail(' Unsuported version for mod lbmethod_byrequests' )
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ # @summary
2
+ # Installs `lbmethod_bytraffic`.
3
+ #
4
+ # @param apache_version
5
+ # Version of Apache to install module on.
6
+ #
7
+ # @see https://httpd.apache.org/docs/2.4/mod/mod_lbmethod_bytraffic.html for additional documentation.
8
+ #
9
+ class apache::mod::lbmethod_bytraffic (
10
+ Optional[String] $apache_version = $apache::apache_version,
11
+ ) {
12
+ require apache::mod::proxy_balancer
13
+
14
+ if versioncmp($apache_version , ' 2.3' ) >= 0 {
15
+ apache::mod { 'lbmethod_bytraffic' : }
16
+ } else {
17
+ fail(' Unsuported version for mod lbmethod_bytraffic' )
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ # @summary
2
+ # Installs `lbmethod_heartbeat`.
3
+ #
4
+ # @param apache_version
5
+ # Version of Apache to install module on.
6
+ #
7
+ # @see https://httpd.apache.org/docs/2.4/mod/mod_lbmethod_heartbeat.html for additional documentation.
8
+ #
9
+ class apache::mod::lbmethod_heartbeat (
10
+ Optional[String] $apache_version = $apache::apache_version,
11
+ ) {
12
+ require apache::mod::proxy_balancer
13
+
14
+ if versioncmp($apache_version , ' 2.3' ) >= 0 {
15
+ apache::mod { 'lbmethod_heartbeat' : }
16
+ } else {
17
+ fail(' Unsuported version for mod lbmethod_heartbeat' )
18
+ }
19
+ }
You can’t perform that action at this time.
0 commit comments