summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp
index 08b1aba..f21a49b 100644
--- a/manifests/client.pp
+++ b/manifests/client.pp
@@ -111,7 +111,7 @@ class munin::client::debian
service { "munin-node":
ensure => running,
# sarge's munin-node init script has no status
- hasstatus => $lsb_release { sarge => false, default => true }
+ hasstatus => $lsbdistcodename ? { sarge => false, default => true }
}
munin::register { $fqdn: }