{"action":"created","issue":{"url":"https://api.github.com/repos/markolson/chef-ssh/issues/39","labels_url":"https://api.github.com/repos/markolson/chef-ssh/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/markolson/chef-ssh/issues/39/comments","events_url":"https://api.github.com/repos/markolson/chef-ssh/issues/39/events","html_url":"https://github.com/markolson/chef-ssh/issues/39","id":71919411,"number":39,"title":"resource.name is used for Host instead of resource.host","user":{"login":"5c077yP","id":1775958,"avatar_url":"https://avatars.githubusercontent.com/u/1775958?v=3","gravatar_id":"","url":"https://api.github.com/users/5c077yP","html_url":"https://github.com/5c077yP","followers_url":"https://api.github.com/users/5c077yP/followers","following_url":"https://api.github.com/users/5c077yP/following{/other_user}","gists_url":"https://api.github.com/users/5c077yP/gists{/gist_id}","starred_url":"https://api.github.com/users/5c077yP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5c077yP/subscriptions","organizations_url":"https://api.github.com/users/5c077yP/orgs","repos_url":"https://api.github.com/users/5c077yP/repos","events_url":"https://api.github.com/users/5c077yP/events{/privacy}","received_events_url":"https://api.github.com/users/5c077yP/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/markolson/chef-ssh/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"tejaycar","id":3846348,"avatar_url":"https://avatars.githubusercontent.com/u/3846348?v=3","gravatar_id":"","url":"https://api.github.com/users/tejaycar","html_url":"https://github.com/tejaycar","followers_url":"https://api.github.com/users/tejaycar/followers","following_url":"https://api.github.com/users/tejaycar/following{/other_user}","gists_url":"https://api.github.com/users/tejaycar/gists{/gist_id}","starred_url":"https://api.github.com/users/tejaycar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejaycar/subscriptions","organizations_url":"https://api.github.com/users/tejaycar/orgs","repos_url":"https://api.github.com/users/tejaycar/repos","events_url":"https://api.github.com/users/tejaycar/events{/privacy}","received_events_url":"https://api.github.com/users/tejaycar/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-04-29T16:17:14Z","updated_at":"2015-04-29T16:50:14Z","closed_at":null,"body":"hey,\r\n\r\ni'm working with version 0.10.2 and for the lwrp ssh_config it seems to use the name attribute for the Host instead of using the host attribute.\r\n\r\nexample:\r\n```ruby\r\nssh_config 'github config for user root' do\r\n  host 'github.com'\r\n  options(\r\n    'HostName' => 'github.com',\r\n    'User' => 'git',\r\n    'IdentityFile' => '/root/.ssh/id_rsa_github'\r\n  )\r\nend\r\n```\r\n\r\ncreates the following:\r\n```bash\r\n$ cat /root/.ssh/config\r\n# Created by Chef for tm-infrastructure-chef\r\n\r\nHost github config for user root\r\n  HostName github.com\r\n  User git\r\n  IdentityFile /root/.ssh/id_rsa_github\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/markolson/chef-ssh/issues/comments/97501805","html_url":"https://github.com/markolson/chef-ssh/issues/39#issuecomment-97501805","issue_url":"https://api.github.com/repos/markolson/chef-ssh/issues/39","id":97501805,"user":{"login":"5c077yP","id":1775958,"avatar_url":"https://avatars.githubusercontent.com/u/1775958?v=3","gravatar_id":"","url":"https://api.github.com/users/5c077yP","html_url":"https://github.com/5c077yP","followers_url":"https://api.github.com/users/5c077yP/followers","following_url":"https://api.github.com/users/5c077yP/following{/other_user}","gists_url":"https://api.github.com/users/5c077yP/gists{/gist_id}","starred_url":"https://api.github.com/users/5c077yP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5c077yP/subscriptions","organizations_url":"https://api.github.com/users/5c077yP/orgs","repos_url":"https://api.github.com/users/5c077yP/repos","events_url":"https://api.github.com/users/5c077yP/events{/privacy}","received_events_url":"https://api.github.com/users/5c077yP/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T16:50:14Z","updated_at":"2015-04-29T16:50:14Z","body":"wow, thanks for the quick response"}}