]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
Debian squeeze and wheezy do not support the operatingsystemmajrelease fact (they...
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Thu, 15 Jan 2015 21:49:35 +0000 (16:49 -0500)
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>
Thu, 15 Jan 2015 21:49:35 +0000 (16:49 -0500)
manifests/init.pp

index 5a382931ca13d1eaf254d8d60bd864fadb2b4fe4..666b5ac5dcb222e70749131701ddbe44685ca58c 100644 (file)
@@ -28,7 +28,7 @@ class sshd(
   $hostbased_authentication = 'no',
   $permit_empty_passwords = 'no',
   $authorized_keys_file = $::osfamily ? {
-    Debian => $::operatingsystemmajrelease ? {
+    Debian => $::lsbmajdistrelease ? {
       6       => '%h/.ssh/authorized_keys',
       default => '%h/.ssh/authorized_keys %h/.ssh/authorized_keys2',
     },