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, 5 insertions, 1 deletions
diff --git a/manifests/puppetmaster/debian.pp b/manifests/puppetmaster/debian.pp
index fcfae83..8cee0ea 100644
--- a/manifests/puppetmaster/debian.pp
+++ b/manifests/puppetmaster/debian.pp
@@ -1,7 +1,11 @@
class puppet::puppetmaster::debian inherits puppet::puppetmaster::package {
if $puppetmaster_mode != 'passenger' {
- Service['puppetmaster'] { hasstatus => true, hasrestart => true }
+ case $lsbdistcodename {
+ squeeze,sid: {
+ Service['puppetmaster'] { hasstatus => true, hasrestart => true }
+ }
+ }
}
file { '/etc/default/puppetmaster':