Add newline to ssh_authorized_key file content

This commit is contained in:
Jerome Charaoui 2015-05-21 13:20:38 -04:00
parent feeb9400e5
commit 1f6803708a

View file

@ -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: