diff options
author | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-01-15 16:49:35 -0500 |
---|---|---|
committer | Jerome Charaoui <jcharaoui@cmaisonneuve.qc.ca> | 2015-01-15 16:49:35 -0500 |
commit | 45892056cd0d33dd652429cc4ab82a893d444ef7 (patch) | |
tree | 698da6f32b3f6b1b66135ca2fcea347f9499353e /manifests | |
parent | ae9cf81188a0fb4f14a519c1ca97ed8f9789abd4 (diff) | |
download | puppet-sshd-45892056cd0d33dd652429cc4ab82a893d444ef7.tar.gz puppet-sshd-45892056cd0d33dd652429cc4ab82a893d444ef7.tar.bz2 |
Debian squeeze and wheezy do not support the operatingsystemmajrelease fact (they ship facter 1.6.x)
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 2 |
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', }, |