]> gitweb.fluxo.info Git - puppet-sshd.git/commitdiff
use the proper fact to export ssh keys. See http://projects.reductivelabs.com/issues...
authorAntoine Beaupre <anarcat@koumbit.org>
Sat, 6 Dec 2008 23:39:53 +0000 (18:39 -0500)
committerAntoine Beaupre <anarcat@koumbit.org>
Sat, 6 Dec 2008 23:39:53 +0000 (18:39 -0500)
manifests/init.pp

index 20dd1fbeee2575a97e0ccf9bbf0c370861181b75..6eb15b38c753128d4cdcc04f19c0373ec88e39b1 100644 (file)
@@ -211,12 +211,12 @@ class sshd::base {
       notify => Service[sshd],
   }
   # Now add the key, if we've got one
-  case $sshrsakey_key {
+  case $sshrsakey {
     '': { info("no sshrsakey on $fqdn") }
     default: {
       @@sshkey{"$hostname.$domain":
         type => ssh-rsa,
-        key => $sshrsakey_key,
+        key => $sshrsakey,
         ensure => present,
       }
     }