summaryrefslogtreecommitdiff
path: root/manifests/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/debian.pp')
-rw-r--r--manifests/debian.pp12
1 files changed, 5 insertions, 7 deletions
diff --git a/manifests/debian.pp b/manifests/debian.pp
index e0cf4bc..e24a1bc 100644
--- a/manifests/debian.pp
+++ b/manifests/debian.pp
@@ -9,13 +9,11 @@ class puppet::debian inherits puppet::linux {
owner => root, group => 0, mode => 0644;
}
- case $lsbdistcodename {
- squeeze,sid: {
- $real_puppet_hasstatus = true
- }
- default: {
- $real_puppet_hasstatus = false
- }
+ if versioncmp($puppetversion,'2.6') >= 0 {
+ $real_puppet_hasstatus = true
+ }
+ else {
+ $real_puppet_hasstatus = false
}
Service[puppet]{