{"action":"created","issue":{"url":"https://api.github.com/repos/smdahlen/vagrant-digitalocean/issues/180","labels_url":"https://api.github.com/repos/smdahlen/vagrant-digitalocean/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/smdahlen/vagrant-digitalocean/issues/180/comments","events_url":"https://api.github.com/repos/smdahlen/vagrant-digitalocean/issues/180/events","html_url":"https://github.com/smdahlen/vagrant-digitalocean/issues/180","id":56841924,"number":180,"title":"~/.ssh/authorized_keys created with root ownership","user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-06T17:30:13Z","updated_at":"2015-02-06T17:44:32Z","closed_at":null,"body":"The shell snippet that is run to inject the ssh pub key into the config.ssh.username specified account is executed as root.  This upsets my puppet provisioner when trying to sync ssh_authorized_key resources to the same account.\r\n\r\nhttps://github.com/smdahlen/vagrant-digitalocean/blob/ed33042bffc0a8ebed85e956e491f6677e1d7c5d/lib/vagrant-digitalocean/actions/setup_user.rb#L50-L54"},"comment":{"url":"https://api.github.com/repos/smdahlen/vagrant-digitalocean/issues/comments/73280539","html_url":"https://github.com/smdahlen/vagrant-digitalocean/issues/180#issuecomment-73280539","issue_url":"https://api.github.com/repos/smdahlen/vagrant-digitalocean/issues/180","id":73280539,"user":{"login":"jhoblitt","id":948901,"avatar_url":"https://avatars.githubusercontent.com/u/948901?v=3","gravatar_id":"","url":"https://api.github.com/users/jhoblitt","html_url":"https://github.com/jhoblitt","followers_url":"https://api.github.com/users/jhoblitt/followers","following_url":"https://api.github.com/users/jhoblitt/following{/other_user}","gists_url":"https://api.github.com/users/jhoblitt/gists{/gist_id}","starred_url":"https://api.github.com/users/jhoblitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhoblitt/subscriptions","organizations_url":"https://api.github.com/users/jhoblitt/orgs","repos_url":"https://api.github.com/users/jhoblitt/repos","events_url":"https://api.github.com/users/jhoblitt/events{/privacy}","received_events_url":"https://api.github.com/users/jhoblitt/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T17:44:32Z","updated_at":"2015-02-06T17:44:32Z","body":"@skottler LOL - sure - I was just testing my fix ;)"}}