summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/debian.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/puppetmaster/debian.pp')
-rw-r--r--manifests/puppetmaster/debian.pp6
1 files changed, 2 insertions, 4 deletions
diff --git a/manifests/puppetmaster/debian.pp b/manifests/puppetmaster/debian.pp
index f440ba3..fc24221 100644
--- a/manifests/puppetmaster/debian.pp
+++ b/manifests/puppetmaster/debian.pp
@@ -4,10 +4,8 @@ class puppet::puppetmaster::debian {
include puppet::puppetmaster::linux
if $puppetmaster_mode != 'passenger' {
- case $lsbdistcodename {
- squeeze,sid: {
- Service['puppetmaster'] { hasstatus => true, hasrestart => true }
- }
+ if $puppet_majorversion >= '2.6' {
+ Service['puppetmaster'] { hasstatus => true, hasrestart => true }
}
}