diff options
author | mh <mh@immerda.ch> | 2010-10-06 00:33:50 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-10-06 00:33:50 +0200 |
commit | 95bfc2b0ff6c75386506d02d5d0a766e59b08472 (patch) | |
tree | cf2c99e3a95b4e9dbfdf28f344ea7d5370984668 /manifests/vhost | |
parent | 9a8de35340c8b20e2c7c40fadd91813aa56bade3 (diff) |
remove cgi-bin dir if we are removing the vhost
Diffstat (limited to 'manifests/vhost')
-rw-r--r-- | manifests/vhost/modperl.pp | 5 |
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; |