use the proper fact to export ssh keys. See http://projects.reductivelabs.com/issues/show/1799#note-1
This commit is contained in:
parent
fa072188dc
commit
992e6e0f07
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue