diff options
-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; |