diff options
author | mh <mh@immerda.ch> | 2011-10-09 01:00:53 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-10-09 01:00:53 +0200 |
commit | d2b1d040b9225b8ae077e3babd9a2f4d5b9dd4e8 (patch) | |
tree | ac07860d0bfa33d6457b353f6d186ab4b0a0140a /manifests/vhost | |
parent | 40d57d53c94f58c68c946fe35b7a567629953d17 (diff) |
do the same for fcgid
Diffstat (limited to 'manifests/vhost')
-rw-r--r-- | manifests/vhost/php/safe_mode_bin.pp | 6 | ||||
-rw-r--r-- | manifests/vhost/phpdirs.pp | 1 | ||||
-rw-r--r-- | manifests/vhost/template.pp | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/manifests/vhost/php/safe_mode_bin.pp b/manifests/vhost/php/safe_mode_bin.pp index ee7a566..4a3574d 100644 --- a/manifests/vhost/php/safe_mode_bin.pp +++ b/manifests/vhost/php/safe_mode_bin.pp @@ -1,9 +1,3 @@ -# 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::safe_mode_bin( $ensure = 'present', $path diff --git a/manifests/vhost/phpdirs.pp b/manifests/vhost/phpdirs.pp index ac68f94..135c43c 100644 --- a/manifests/vhost/phpdirs.pp +++ b/manifests/vhost/phpdirs.pp @@ -24,6 +24,7 @@ define apache::vhost::phpdirs( 'itk' => $run_uid, 'static-itk' => $run_uid, 'proxy-itk' => $run_uid, + 'fcgid' => $run_uid, default => $documentroot_owner }, group => $documentroot_group, mode => $documentroot_mode; diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp index 21fdb65..11926a6 100644 --- a/manifests/vhost/template.pp +++ b/manifests/vhost/template.pp @@ -110,7 +110,7 @@ define apache::vhost::template( 'static-itk': { $logfileprefix = 'static' } } case $run_mode { - 'itk','proxy-itk','static-itk': { + 'fcgid','itk','proxy-itk','static-itk': { case $run_uid { 'absent': { fail("you have to define run_uid for $name on $fqdn") } } |