From: Silvio Rhatto Date: Sun, 27 Dec 2009 17:33:35 +0000 (-0200) Subject: Using sshrsakey instead of sshrsakey_key X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=400476ebc7f77e8e1f47eaf584c63b4d0c6805b9;p=puppet-sshd.git Using sshrsakey instead of sshrsakey_key --- 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,