summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-01-15 16:49:35 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2015-01-15 16:49:35 -0500
commit45892056cd0d33dd652429cc4ab82a893d444ef7 (patch)
tree698da6f32b3f6b1b66135ca2fcea347f9499353e
parentae9cf81188a0fb4f14a519c1ca97ed8f9789abd4 (diff)
Debian squeeze and wheezy do not support the operatingsystemmajrelease fact (they ship facter 1.6.x)
-rw-r--r--manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5a38293..666b5ac 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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',
},