summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-14 15:06:31 +0000
committermh <mh@immerda.ch>2008-12-14 15:06:31 +0000
commite5c67c7a7a7c85bf6194a68e4dbfae8489966802 (patch)
tree2b7dc9b03989cc6660426049af5dffcbbff09bde /manifests
parentb2b60d35e8d283303320254015107d2644cd74eb (diff)
made php define itk aware
Diffstat (limited to 'manifests')
-rw-r--r--manifests/defines/vhost_varieties.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/defines/vhost_varieties.pp b/manifests/defines/vhost_varieties.pp
index 1f2a0ed..8e2d1b4 100644
--- a/manifests/defines/vhost_varieties.pp
+++ b/manifests/defines/vhost_varieties.pp
@@ -65,6 +65,12 @@ define apache::vhost::static(
}
}
+# run_mode:
+# - normal: nothing special (*default*)
+# - itk: apache is running with the itk module
+# 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
define apache::vhost::php::standard(
$domain = 'absent',
$domainalias = 'absent',
@@ -74,6 +80,9 @@ define apache::vhost::php::standard(
$documentroot_owner = apache,
$documentroot_group = 0,
$documentroot_mode = 0750,
+ $run_mode = 'normal',
+ $run_uid = 'absent',
+ $run_gid = 'absent',
$allow_override = 'None',
$upload_tmp_dir = 'absent',
$session_save_path = 'absent',
@@ -138,6 +147,9 @@ define apache::vhost::php::standard(
vhost_destination => $vhost_destination,
domain => $domain,
domainalias => $domainalias,
+ run_mode => $run_mode,
+ run_uid => $run_uid,
+ run_gid => $run_gid,
allow_override => $allow_override,
do_includes => $do_includes,
options => $options,