diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2008-12-06 18:39:53 -0500 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2008-12-06 18:39:53 -0500 |
commit | 992e6e0f07ea70c2e39df30035f414f33babf6c0 (patch) | |
tree | 13c98b6ad2b9d7b3cf681802f5d657f7ee472e7e /manifests | |
parent | fa072188dc8f1b475d4000fe61ea4fcf5e82cf98 (diff) | |
download | puppet-sshd-992e6e0f07ea70c2e39df30035f414f33babf6c0.tar.gz puppet-sshd-992e6e0f07ea70c2e39df30035f414f33babf6c0.tar.bz2 |
use the proper fact to export ssh keys. See http://projects.reductivelabs.com/issues/show/1799#note-1
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 4 |
1 files 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, } } |