Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8396441
disk_cache.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
882 B
Subscribers
None
disk_cache.pp
View Options
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'
,
}
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
{
'disk_cache'
:
}
# 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
=>
Service
[
'httpd'
],
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Jun 4 2025, 7:53 PM (12 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3399417
Attached To
rSPAPA puppet-puppetlabs-apache
Event Timeline
Log In to Comment