diff options
Diffstat (limited to 'manifests/base.pp')
-rw-r--r-- | manifests/base.pp | 4 |
1 files 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, |