Skip to content

Commit

Permalink
ensure sshkeys_content is valid hash
Browse files Browse the repository at this point in the history
  • Loading branch information
rds13 committed Dec 26, 2013
1 parent b60db26 commit 6fd1249
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manifests/managed.pp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@
}
}

create_resources(ssh_authorized_key, $sshkeys_content, $sshkey_defaults)
if !empty($sshkeys_content) {
create_resources(ssh_authorized_key, $sshkeys_content, $sshkey_defaults)
}

if $id_rsa_source != '' {
file { "${real_homedir}_ssh_id_rsa":
Expand Down

0 comments on commit 6fd1249

Please sign in to comment.