summaryrefslogtreecommitdiff
path: root/manifests/vhost/modperl.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-05-31 11:38:45 +0200
committermh <mh@immerda.ch>2012-05-31 11:38:45 +0200
commit076909377eaa3aa41936e3acb7e02a9b5b14d493 (patch)
treedae4bd4d405ffe1ba75ea1d50763bfbecf9e1a19 /manifests/vhost/modperl.pp
parent4ff385d82bc0d300d501bf1fb41df8602c7c95a6 (diff)
fix various puppet language things
Diffstat (limited to 'manifests/vhost/modperl.pp')
-rw-r--r--manifests/vhost/modperl.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/vhost/modperl.pp b/manifests/vhost/modperl.pp
index c7b9e59..35842dc 100644
--- a/manifests/vhost/modperl.pp
+++ b/manifests/vhost/modperl.pp
@@ -62,11 +62,11 @@ define apache::vhost::modperl(
case $cgi_binpath {
'absent': {
$real_path = $path ? {
- 'absent' => $operatingsystem ? {
+ 'absent' => $::operatingsystem ? {
openbsd => "/var/www/htdocs/${name}",
default => "/var/www/vhosts/${name}"
},
- default => "${path}"
+ default => $path
}
$real_cgi_binpath = "${real_path}/cgi-bin"
}