From 992e6e0f07ea70c2e39df30035f414f33babf6c0 Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Sat, 6 Dec 2008 18:39:53 -0500 Subject: use the proper fact to export ssh keys. See http://projects.reductivelabs.com/issues/show/1799#note-1 --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index 20dd1fb..6eb15b3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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, } } -- cgit v1.2.3