From: Micah Anderson Date: Mon, 27 Oct 2008 20:20:26 +0000 (-0400) Subject: lsbdistcodename is the proper variable to check for if the system is debian or lenny X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=49d840dab4c7cfeff8ca21d1ef0728832046f205;p=puppet-sshd.git lsbdistcodename is the proper variable to check for if the system is debian or lenny --- diff --git a/manifests/init.pp b/manifests/init.pp index d4d775f..32b7109 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -254,7 +254,7 @@ class sshd::debian inherits sshd::linux { name => 'openssh-server', } - $ssh_hasrestart = $debian_version ? { + $ssh_hasrestart = $lsbdistcodename ? { etch => false, lenny => true, default => false