diff options
author | mh <mh@immerda.ch> | 2008-12-01 23:10:41 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-12-01 23:10:41 +0000 |
commit | b582c48c88511938dbfc0940fd95a8738d1b6ae3 (patch) | |
tree | 17af97d058c2633a8cd847488b52ad46f6aeafc8 /manifests/defines/vhost_varieties.pp | |
parent | 6961426625a495b26066f90a786480a0b2233259 (diff) |
added run_mode for running vhosts with the itk module
Diffstat (limited to 'manifests/defines/vhost_varieties.pp')
-rw-r--r-- | manifests/defines/vhost_varieties.pp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/defines/vhost_varieties.pp b/manifests/defines/vhost_varieties.pp index 3f3121c..2b5cd44 100644 --- a/manifests/defines/vhost_varieties.pp +++ b/manifests/defines/vhost_varieties.pp @@ -143,6 +143,12 @@ define apache::vhost::php::standard( } } +# 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::perl( $domain = 'absent', $domainalias = 'absent', @@ -152,6 +158,9 @@ define apache::vhost::perl( $documentroot_owner = apache, $documentroot_group = 0, $documentroot_mode = 0750, + $run_mode = 'normal', + $run_uid = 'absent', + $run_gid = 'absent', $allow_override = 'None', $cgi_binpath = 'absent', $options = 'absent', @@ -194,6 +203,9 @@ define apache::vhost::perl( vhost_destination => $vhost_destination, domain => $domain, domainalias => $domainalias, + run_mode => $run_mode, + run_uid => $run_uid, + run_gid => $run_gid, allow_override => $allow_override, options => $options, additional_options => $additional_options, |