summaryrefslogtreecommitdiff
path: root/manifests/vhost/php/drupal.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/vhost/php/drupal.pp')
-rw-r--r--manifests/vhost/php/drupal.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/vhost/php/drupal.pp b/manifests/vhost/php/drupal.pp
index f23a434..7f48841 100644
--- a/manifests/vhost/php/drupal.pp
+++ b/manifests/vhost/php/drupal.pp
@@ -10,11 +10,17 @@
# php_default_charset: default charset header for php.
# *default*: absent, which will set the same as default_charset
# of apache
+# 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::php::drupal(
$ensure = present,
$domain = 'absent',
$domainalias = 'absent',
$server_admin = 'absent',
+ $logmode = 'default',
$path = 'absent',
$owner = root,
$group = apache,
@@ -67,6 +73,7 @@ define apache::vhost::php::drupal(
domain => $domain,
domainalias => $domainalias,
server_admin => $server_admin,
+ logmode => $logmode,
path => $path,
template_mode => 'php_drupal',
owner => $owner,