telmich/cdist — pull request #52 by nuex (2012-04-10 15:11:59+00:00)
Title: setting dstuser file ownership in __ssh_authorized_key

I was having trouble logging in as a __ssh_authorized_key provisioned user after the /home/$dstuser/.ssh/authorized_key file was created, which I believe was due to permissions not being properly set on the $dstuser's files. This commit gives $dstuser (if defined) ownership of the .ssh directory and authorized_keys file, allowing them to log in.