diff options
Diffstat (limited to 'manifests/vhost/template.pp')
-rw-r--r-- | manifests/vhost/template.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp index 7c1f9be..c1c9935 100644 --- a/manifests/vhost/template.pp +++ b/manifests/vhost/template.pp @@ -85,8 +85,10 @@ define apache::vhost::template( 'absent' => "$real_path/logs", default => $logpath } - case $logmode { - 'semianonym','anonym': { include apache::noiplog } + if $ensure != 'absent' { + case $logmode { + 'semianonym','anonym': { include apache::noiplog } + } } $servername = $domain ? { |