summaryrefslogtreecommitdiff
path: root/manifests/vhost/modperl.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-10-06 00:33:50 +0200
committermh <mh@immerda.ch>2010-10-06 00:33:50 +0200
commit95bfc2b0ff6c75386506d02d5d0a766e59b08472 (patch)
treecf2c99e3a95b4e9dbfdf28f344ea7d5370984668 /manifests/vhost/modperl.pp
parent9a8de35340c8b20e2c7c40fadd91813aa56bade3 (diff)
remove cgi-bin dir if we are removing the vhost
Diffstat (limited to 'manifests/vhost/modperl.pp')
-rw-r--r--manifests/vhost/modperl.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/vhost/modperl.pp b/manifests/vhost/modperl.pp
index 30083a3..459f424 100644
--- a/manifests/vhost/modperl.pp
+++ b/manifests/vhost/modperl.pp
@@ -71,7 +71,10 @@ define apache::vhost::modperl(
}
file{$real_cgi_binpath:
- ensure => directory,
+ ensure => $ensure ? {
+ 'absent' => 'absent',
+ default => directory
+ },
owner => $documentroot_owner,
group => $documentroot_group,
mode => $documentroot_mode;