diff options
author | Andreas <andreas@immerda.ch> | 2009-11-18 19:28:33 +0100 |
---|---|---|
committer | Andreas <andreas@immerda.ch> | 2009-11-18 19:28:33 +0100 |
commit | 8771aa492108c539a653051516775116e70d799d (patch) | |
tree | efd7a160aadedef38972f2facae1c38b22e60c00 /manifests/vhost/php | |
parent | a905175347112022731f2cf9783d0c4448eaeaf2 (diff) |
'undefined' error
Diffstat (limited to 'manifests/vhost/php')
-rw-r--r-- | manifests/vhost/php/standard.pp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/manifests/vhost/php/standard.pp b/manifests/vhost/php/standard.pp index d2d75c5..7edea39 100644 --- a/manifests/vhost/php/standard.pp +++ b/manifests/vhost/php/standard.pp @@ -53,15 +53,14 @@ define apache::vhost::php::standard( run_uid => $run_uid, } + $php_safe_mode_exec_bin_dir = $path ? { + 'absent' => $operatingsystem ? { + openbsd => "/var/www/htdocs/${name}/bin", + default => "/var/www/vhosts/${name}/bin" + }, + default => "${path}/bin" + } if $php_safe_mode_exec_bins and ($php_safe_mode_exec_bins != 'absent') { - $php_safe_mode_exec_bin_dir = $path ? { - 'absent' => $operatingsystem ? { - openbsd => "/var/www/htdocs/${name}/bin", - default => "/var/www/vhosts/${name}/bin" - }, - default => "${path}/bin" - } - file{$php_safe_mode_exec_bin_dir: ensure => directory, source => "puppet://$server/modules/common/empty", |