Debian squeeze and wheezy do not support the operatingsystemmajrelease fact (they ship facter 1.6.x)
This commit is contained in:
parent
ae9cf81188
commit
45892056cd
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue