diff options
author | mh <mh@immerda.ch> | 2010-08-11 14:06:53 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-08-11 14:06:53 +0200 |
commit | 7bbb0feacac0565457f5f56f65468429803454fb (patch) | |
tree | 7c384ffbea93302afebacdaae9492b3279fd02e1 /manifests/vhost/webdav.pp | |
parent | d50296539fc641b6387fcea712d950785c83cea3 (diff) |
introduce logmode feature
We are now able to select how apache should log accesses. These
modes are:
* default: as you would use it
* semianonym: no ips are logged for CustomLog, ErrorLog still logs
ips
* anonym: no ips are logged for CustomLog, ErrorLog is sent to
/dev/null
* nologs: all logs are sent to /dev/null
Diffstat (limited to 'manifests/vhost/webdav.pp')
-rw-r--r-- | manifests/vhost/webdav.pp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/vhost/webdav.pp b/manifests/vhost/webdav.pp index 73c4a7a..770424c 100644 --- a/manifests/vhost/webdav.pp +++ b/manifests/vhost/webdav.pp @@ -5,11 +5,17 @@ # and run_uid and run_gid are used as vhost users # run_uid: the uid the vhost should run as with the itk module # run_gid: the gid the vhost should run as with the itk module +# logmode: +# - default: Do normal logging to CustomLog and ErrorLog +# - nologs: Send every logging to /dev/null +# - anonym: Don't log ips for CustomLog, send ErrorLog to /dev/null +# - semianonym: Don't log ips for CustomLog, log normal ErrorLog define apache::vhost::webdav( $ensure = present, $domain = 'absent', $domainalias = 'absent', $server_admin = 'absent', + $logmode = 'default', $path = 'absent', $owner = root, $group = apache, @@ -66,6 +72,7 @@ define apache::vhost::webdav( path => $path, path_is_webdir => $path_is_webdir, logpath => $logpath, + logmode => $logmode, template_mode => 'webdav', vhost_mode => $vhost_mode, vhost_source => $vhost_source, |