File tree Expand file tree Collapse file tree 8 files changed +10
-13
lines changed Expand file tree Collapse file tree 8 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 4
4
# @see https://httpd.apache.org/docs/current/mod/mod_proxy_ajp.html for additional documentation.
5
5
#
6
6
class apache::mod::proxy_ajp {
7
- Class[ ' apache::mod::proxy ' ] -> Class[ ' apache::mod::proxy_ajp ' ]
7
+ require apache::mod::proxy
8
8
::apache::mod { 'proxy_ajp' : }
9
9
}
Original file line number Diff line number Diff line change 21
21
Array $allow_from = [' 127.0.0.1' ,' ::1' ],
22
22
Optional[String] $apache_version = $apache::apache_version,
23
23
) {
24
- include apache::mod::proxy
25
- include apache::mod::proxy_http
24
+ require apache::mod::proxy
25
+ require apache::mod::proxy_http
26
26
if versioncmp($apache_version , ' 2.4' ) >= 0 {
27
27
::apache::mod { 'slotmem_shm' : }
28
28
}
29
29
30
- Class[' apache::mod::proxy' ] -> Class[' apache::mod::proxy_balancer' ]
31
- Class[' apache::mod::proxy_http' ] -> Class[' apache::mod::proxy_balancer' ]
32
30
::apache::mod { 'proxy_balancer' : }
33
31
if $manager {
34
32
include apache::mod::status
Original file line number Diff line number Diff line change 4
4
#
5
5
class apache::mod::proxy_connect {
6
6
include apache
7
- Class[ ' apache::mod::proxy ' ] -> Class[ ' apache::mod::proxy_connect ' ]
7
+ require apache::mod::proxy
8
8
apache::mod { 'proxy_connect' : }
9
9
}
Original file line number Diff line number Diff line change 4
4
# @see https://httpd.apache.org/docs/current/mod/mod_proxy_fcgi.html for additional documentation.
5
5
#
6
6
class apache::mod::proxy_fcgi {
7
- Class[ ' apache::mod::proxy ' ] -> Class[ ' apache::mod::proxy_fcgi ' ]
7
+ require apache::mod::proxy
8
8
::apache::mod { 'proxy_fcgi' : }
9
9
}
Original file line number Diff line number Diff line change 5
5
#
6
6
class apache::mod::proxy_html {
7
7
include apache
8
- Class[ ' apache::mod::proxy ' ] -> Class[ ' apache::mod::proxy_html ' ]
9
- Class[ ' apache::mod::proxy_http ' ] -> Class[ ' apache::mod::proxy_html ' ]
8
+ require apache::mod:::proxy
9
+ require apache::mod:::proxy_http
10
10
11
11
# Add libxml2
12
12
case $facts [' os' ][' family' ] {
Original file line number Diff line number Diff line change 4
4
# @see https://httpd.apache.org/docs/current/mod/mod_proxy_http.html for additional documentation.
5
5
#
6
6
class apache::mod::proxy_http {
7
- Class[ ' apache::mod::proxy ' ] -> Class[ ' apache::mod::proxy_http ' ]
7
+ require apache::mod::proxy
8
8
::apache::mod { 'proxy_http' : }
9
9
}
Original file line number Diff line number Diff line change 4
4
# @see https://httpd.apache.org/docs/current/mod/mod_proxy_wstunnel.html for additional documentation.
5
5
#
6
6
class apache::mod::proxy_wstunnel {
7
- include apache, apache::mod::proxy
8
- Class[ ' apache::mod::proxy ' ] -> Class[ ' apache::mod::proxy_wstunnel ' ]
7
+ include apache
8
+ require apache::mod::proxy
9
9
::apache::mod { 'proxy_wstunnel' : }
10
10
}
Original file line number Diff line number Diff line change 2488
2488
# - $proxy_add_headers
2489
2489
# - $no_proxy_uris
2490
2490
if ($proxy_dest or $proxy_pass or $proxy_pass_match or $proxy_dest_match or $proxy_preserve_host ) and $ensure == ' present' {
2491
- include apache::mod::proxy
2492
2491
include apache::mod::proxy_http
2493
2492
2494
2493
concat::fragment { "${name}-proxy" :
You can’t perform that action at this time.
0 commit comments