X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fproxy_html.pp;fp=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fproxy_html.pp;h=0000000000000000000000000000000000000000;hb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa;hp=8b910c2510ae9b7145b537b26f12a43558be008c;hpb=29c25a2dd54b818d590063af535221f98af7d6c8;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/apache/manifests/mod/proxy_html.pp b/3rdparty/modules/apache/manifests/mod/proxy_html.pp deleted file mode 100644 index 8b910c251..000000000 --- a/3rdparty/modules/apache/manifests/mod/proxy_html.pp +++ /dev/null @@ -1,37 +0,0 @@ -class apache::mod::proxy_html { - Class['::apache::mod::proxy'] -> Class['::apache::mod::proxy_html'] - Class['::apache::mod::proxy_http'] -> Class['::apache::mod::proxy_html'] - - # Add libxml2 - case $::osfamily { - /RedHat|FreeBSD|Gentoo/: { - ::apache::mod { 'xml2enc': } - $loadfiles = undef - } - 'Debian': { - $gnu_path = $::hardwaremodel ? { - 'i686' => 'i386', - default => $::hardwaremodel, - } - $loadfiles = $::apache::params::distrelease ? { - '6' => ['/usr/lib/libxml2.so.2'], - '10' => ['/usr/lib/libxml2.so.2'], - default => ["/usr/lib/${gnu_path}-linux-gnu/libxml2.so.2"], - } - } - } - - ::apache::mod { 'proxy_html': - loadfiles => $loadfiles, - } - - # Template uses $icons_path - file { 'proxy_html.conf': - ensure => file, - path => "${::apache::mod_dir}/proxy_html.conf", - content => template('apache/mod/proxy_html.conf.erb'), - require => Exec["mkdir ${::apache::mod_dir}"], - before => File[$::apache::mod_dir], - notify => Class['apache::service'], - } -}