From 400476ebc7f77e8e1f47eaf584c63b4d0c6805b9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 27 Dec 2009 15:33:35 -0200 Subject: [PATCH] Using sshrsakey instead of sshrsakey_key --- manifests/base.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/base.pp b/manifests/base.pp index 76203ee..50e0339 100644 --- a/manifests/base.pp +++ b/manifests/base.pp @@ -10,13 +10,13 @@ class sshd::base { } # Now add the key, if we've got one - case $sshrsakey_key { + case $sshrsakey { '': { info("no sshrsakey on $fqdn") } default: { @@sshkey{"$hostname.$domain": tag => "fqdn", type => ssh-rsa, - key => $sshrsakey_key, + key => $sshrsakey, ensure => present, } # In case the node has an internal network address,