summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/debian.pp
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2011-01-10 20:26:04 -0500
committerMicah Anderson <micah@riseup.net>2011-01-10 20:26:04 -0500
commit455487921f507dbda10187e2dcec673c1a5587f5 (patch)
tree4d53869056ba949dbf4beaf1dc2a7390b63e2992 /manifests/puppetmaster/debian.pp
parent7bc44c94a94e772542bb69476f306c3d1aef90ff (diff)
Fix up puppet/puppetmaster status method for Debian Squeeze and Sid, updating my previous commits with the fixes from LeLutin (closes: #2693)
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':