From 455487921f507dbda10187e2dcec673c1a5587f5 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 10 Jan 2011 20:26:04 -0500 Subject: Fix up puppet/puppetmaster status method for Debian Squeeze and Sid, updating my previous commits with the fixes from LeLutin (closes: #2693) --- manifests/puppetmaster/debian.pp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'manifests/puppetmaster') 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': -- cgit v1.2.3