aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/ssh_authorized_key.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/ssh_authorized_key.pp b/manifests/ssh_authorized_key.pp
index 6d98be4..80cb3b7 100644
--- a/manifests/ssh_authorized_key.pp
+++ b/manifests/ssh_authorized_key.pp
@@ -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: