summaryrefslogtreecommitdiff
path: root/manifests/vhost/passenger.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost/passenger.pp')
-rw-r--r--manifests/vhost/passenger.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/vhost/passenger.pp b/manifests/vhost/passenger.pp
index 732758e..4a9b95e 100644
--- a/manifests/vhost/passenger.pp
+++ b/manifests/vhost/passenger.pp
@@ -1,10 +1,16 @@
# run_uid: the uid the vhost should run as with the mod_passenger module
# run_gid: the gid the vhost should run as with the mod_passenger 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::passenger(
$ensure = present,
$domain = 'absent',
$domainalias = 'absent',
$server_admin = 'absent',
+ $logmode = 'default',
$path = 'absent',
$manage_webdir = true,
$manage_docroot = true,
@@ -54,6 +60,7 @@ define apache::vhost::passenger(
ensure => $ensure,
path => $path,
template_mode => $template_mode,
+ logmode => $logmode,
vhost_mode => $vhost_mode,
vhost_source => $vhost_source,
vhost_destination => $vhost_destination,