Defined Type: squid::accesslog
- Defined in:
- manifests/accesslog.pp
Overview
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'manifests/accesslog.pp', line 2
define squid::accesslog (
$path = $name,
$module = 'daemon',
$logformat = 'squid',
) {
# access_log <module>:<place> [option ...] [acl acl ...]
# access_log daemon:/usr/local/squid/var/logs/access.log squid
concat::fragment{ "${squid::params::config_file} accesslog ${path}":
target => $squid::params::config_file,
order => '80',
content => template("${module_name}/accesslog.erb"),
}
}
|