Add newline to ssh_authorized_key file content
This commit is contained in:
parent
feeb9400e5
commit
1f6803708a
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@ define sshd::ssh_authorized_key(
|
|||
|
||||
if $options == 'absent' {
|
||||
info("not setting any option for ssh_authorized_key: ${name}")
|
||||
$content = "${header}${type} ${key}"
|
||||
$content = "${header}${type} ${key}\n"
|
||||
} else {
|
||||
$content = "${header}${options} ${type} ${key}"
|
||||
$content = "${header}${options} ${type} ${key}\n"
|
||||
}
|
||||
|
||||
file { $real_target:
|
||||
|
|
Loading…
Reference in a new issue