X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;f=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fdisk_cache.pp;fp=3rdparty%2Fmodules%2Fapache%2Fmanifests%2Fmod%2Fdisk_cache.pp;h=0000000000000000000000000000000000000000;hp=2b9d8a9101e2641d2a28105a92ef464b0f3892d7;hb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa;hpb=29c25a2dd54b818d590063af535221f98af7d6c8 diff --git a/3rdparty/modules/apache/manifests/mod/disk_cache.pp b/3rdparty/modules/apache/manifests/mod/disk_cache.pp deleted file mode 100644 index 2b9d8a91..00000000 --- a/3rdparty/modules/apache/manifests/mod/disk_cache.pp +++ /dev/null @@ -1,31 +0,0 @@ -class apache::mod::disk_cache { - $cache_root = $::osfamily ? { - 'debian' => '/var/cache/apache2/mod_disk_cache', - 'redhat' => '/var/cache/mod_proxy', - 'freebsd' => '/var/cache/mod_disk_cache', - 'gentoo' => '/var/cache/apache2/mod_disk_cache', - } - - $mod_name = $::osfamily ? { - 'FreeBSD' => 'cache_disk', - default => 'disk_cache', - } - - if $::osfamily != 'FreeBSD' { - # FIXME: investigate why disk_cache was dependent on proxy - # NOTE: on FreeBSD disk_cache is compiled by default but proxy is not - Class['::apache::mod::proxy'] -> Class['::apache::mod::disk_cache'] - } - Class['::apache::mod::cache'] -> Class['::apache::mod::disk_cache'] - - apache::mod { $mod_name: } - # Template uses $cache_proxy - file { 'disk_cache.conf': - ensure => file, - path => "${::apache::mod_dir}/disk_cache.conf", - content => template('apache/mod/disk_cache.conf.erb'), - require => Exec["mkdir ${::apache::mod_dir}"], - before => File[$::apache::mod_dir], - notify => Class['apache::service'], - } -}