]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
lsbdistcodename is the proper variable to check for if the system is debian or lenny
authorMicah Anderson <micah@riseup.net>
Mon, 27 Oct 2008 20:20:26 +0000 (16:20 -0400)
committerMicah Anderson <micah@riseup.net>
Mon, 27 Oct 2008 20:20:26 +0000 (16:20 -0400)
manifests/init.pp

index d4d775f808ea6a2bbdccd52221126e052fda7f12..32b71094507014cedb3a99dd6a3704dfede08f93 100644 (file)
@@ -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