Puppet Class: apache::mod::disk_cache
- Defined in:
- manifests/mod/disk_cache.pp
Summary
Installs and configures `mod_disk_cache`.Overview
Note:
Apache 2.2, mod_disk_cache installed. On Apache 2.4, mod_cache_disk installed. This class is deprecated, use mode_cache_disk instead
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'manifests/mod/disk_cache.pp', line 24
class apache::mod::disk_cache (
Optional[Stdlib::Absolutepath] $cache_root = undef,
Optional[String] $cache_ignore_headers = undef,
Boolean $default_cache_enable = true,
) {
deprecation('apache::mod::disk_cache', 'This class is deprecated; please use apache::mod::cache_disk')
class { 'apache::mod::cache_disk':
cache_root => $cache_root,
cache_enable => ['/'],
cache_ignore_headers => $cache_ignore_headers,
cache_dir_length => 1,
cache_dir_levels => 2,
configuration_file_name => 'cache_disk.conf'
}
}
|