diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/ssh_authorized_key.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/ssh_authorized_key.pp b/manifests/ssh_authorized_key.pp index 2436df6..e93dde1 100644 --- a/manifests/ssh_authorized_key.pp +++ b/manifests/ssh_authorized_key.pp @@ -52,18 +52,18 @@ define sshd::ssh_authorized_key( 'absent': { info("not setting any option for ssh_authorized_key: ${name}") - file { '$real_target': + file { $real_target: ensure => $ensure, - content => '$type $key', - owner => '$real_user', + content => "${type} ${key}", + owner => $real_user, mode => '0600'; } } default: { - file { '$real_target': + file { $real_target: ensure => $ensure, - content => '$options $type $key', - owner => '$real_user', + content => "${options} ${type} ${key}", + owner => $real_user, mode => '0600'; } } |