Debian squeeze and wheezy do not support the operatingsystemmajrelease fact (they ship facter 1.6.x)

This commit is contained in:
Jerome Charaoui 2015-01-15 16:49:35 -05:00
parent ae9cf81188
commit 45892056cd

View 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',
},