1 class apache::mod::proxy_html {
2 Class['::apache::mod::proxy'] -> Class['::apache::mod::proxy_html']
3 Class['::apache::mod::proxy_http'] -> Class['::apache::mod::proxy_html']
7 /RedHat|FreeBSD|Gentoo/: {
8 ::apache::mod { 'xml2enc': }
12 $gnu_path = $::hardwaremodel ? {
14 default => $::hardwaremodel,
16 $loadfiles = $::apache::params::distrelease ? {
17 '6' => ['/usr/lib/libxml2.so.2'],
18 '10' => ['/usr/lib/libxml2.so.2'],
19 default => ["/usr/lib/${gnu_path}-linux-gnu/libxml2.so.2"],
24 ::apache::mod { 'proxy_html':
25 loadfiles => $loadfiles,
28 # Template uses $icons_path
29 file { 'proxy_html.conf':
31 path => "${::apache::mod_dir}/proxy_html.conf",
32 content => template('apache/mod/proxy_html.conf.erb'),
33 require => Exec["mkdir ${::apache::mod_dir}"],
34 before => File[$::apache::mod_dir],
35 notify => Class['apache::service'],