diff options
author | mh <mh@immerda.ch> | 2010-08-11 14:38:40 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-08-11 14:38:40 +0200 |
commit | 747054969e709681072426ff2c9ef3446ba7ceb8 (patch) | |
tree | 6ff8c2f133402c63b46e35b334e0af865d2280df /manifests | |
parent | 7bbb0feacac0565457f5f56f65468429803454fb (diff) |
only include noip logging if we actually need it
Diffstat (limited to 'manifests')
-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 ? { |