{"action":"opened","number":139,"pull_request":{"url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/139","id":30611924,"html_url":"https://github.com/smdahlen/vagrant-hostmanager/pull/139","diff_url":"https://github.com/smdahlen/vagrant-hostmanager/pull/139.diff","patch_url":"https://github.com/smdahlen/vagrant-hostmanager/pull/139.patch","issue_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues/139","number":139,"state":"open","locked":false,"title":"Fix situation with hosts file line endings","user":{"login":"la-magra","id":8585944,"avatar_url":"https://avatars.githubusercontent.com/u/8585944?v=3","gravatar_id":"","url":"https://api.github.com/users/la-magra","html_url":"https://github.com/la-magra","followers_url":"https://api.github.com/users/la-magra/followers","following_url":"https://api.github.com/users/la-magra/following{/other_user}","gists_url":"https://api.github.com/users/la-magra/gists{/gist_id}","starred_url":"https://api.github.com/users/la-magra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/la-magra/subscriptions","organizations_url":"https://api.github.com/users/la-magra/orgs","repos_url":"https://api.github.com/users/la-magra/repos","events_url":"https://api.github.com/users/la-magra/events{/privacy}","received_events_url":"https://api.github.com/users/la-magra/received_events","type":"User","site_admin":false},"body":"I ran into a situation in which the the hosts file in the guest (ubuntu 14.04) had CRLF line endings when vagranted from a Windows server 2012 R2, with Vagrant 1.7.2 with hostmanager 1.5.0 . The vagrant commands where run from a cygwin shell.\r\nAs per Ruby documentation, replacing open mode to binary \"Suppresses EOL <-> CRLF conversion on Windows.\"","created_at":"2015-03-06T00:54:13Z","updated_at":"2015-03-06T00:54:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/139/commits","review_comments_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/139/comments","review_comment_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues/139/comments","statuses_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/statuses/ca57c2394143593ddbdfe014fbe4c8ac4b5405a4","head":{"label":"la-magra:is-crlf-hosts-file","ref":"is-crlf-hosts-file","sha":"ca57c2394143593ddbdfe014fbe4c8ac4b5405a4","user":{"login":"la-magra","id":8585944,"avatar_url":"https://avatars.githubusercontent.com/u/8585944?v=3","gravatar_id":"","url":"https://api.github.com/users/la-magra","html_url":"https://github.com/la-magra","followers_url":"https://api.github.com/users/la-magra/followers","following_url":"https://api.github.com/users/la-magra/following{/other_user}","gists_url":"https://api.github.com/users/la-magra/gists{/gist_id}","starred_url":"https://api.github.com/users/la-magra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/la-magra/subscriptions","organizations_url":"https://api.github.com/users/la-magra/orgs","repos_url":"https://api.github.com/users/la-magra/repos","events_url":"https://api.github.com/users/la-magra/events{/privacy}","received_events_url":"https://api.github.com/users/la-magra/received_events","type":"User","site_admin":false},"repo":{"id":31743905,"name":"vagrant-hostmanager","full_name":"la-magra/vagrant-hostmanager","owner":{"login":"la-magra","id":8585944,"avatar_url":"https://avatars.githubusercontent.com/u/8585944?v=3","gravatar_id":"","url":"https://api.github.com/users/la-magra","html_url":"https://github.com/la-magra","followers_url":"https://api.github.com/users/la-magra/followers","following_url":"https://api.github.com/users/la-magra/following{/other_user}","gists_url":"https://api.github.com/users/la-magra/gists{/gist_id}","starred_url":"https://api.github.com/users/la-magra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/la-magra/subscriptions","organizations_url":"https://api.github.com/users/la-magra/orgs","repos_url":"https://api.github.com/users/la-magra/repos","events_url":"https://api.github.com/users/la-magra/events{/privacy}","received_events_url":"https://api.github.com/users/la-magra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/la-magra/vagrant-hostmanager","description":"A Vagrant plugin that manages the /etc/hosts file on guests within a multi-machine environment","fork":true,"url":"https://api.github.com/repos/la-magra/vagrant-hostmanager","forks_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/forks","keys_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/teams","hooks_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/hooks","issue_events_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/issues/events{/number}","events_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/events","assignees_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/assignees{/user}","branches_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/branches{/branch}","tags_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/tags","blobs_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/git/refs{/sha}","trees_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/statuses/{sha}","languages_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/languages","stargazers_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/stargazers","contributors_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/contributors","subscribers_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/subscribers","subscription_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/subscription","commits_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/commits{/sha}","git_commits_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/git/commits{/sha}","comments_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/comments{/number}","issue_comment_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/issues/comments{/number}","contents_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/contents/{+path}","compare_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/merges","archive_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/downloads","issues_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/issues{/number}","pulls_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/pulls{/number}","milestones_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/milestones{/number}","notifications_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/labels{/name}","releases_url":"https://api.github.com/repos/la-magra/vagrant-hostmanager/releases{/id}","created_at":"2015-03-06T00:15:06Z","updated_at":"2015-03-06T00:15:06Z","pushed_at":"2015-03-06T00:41:27Z","git_url":"git://github.com/la-magra/vagrant-hostmanager.git","ssh_url":"git@github.com:la-magra/vagrant-hostmanager.git","clone_url":"https://github.com/la-magra/vagrant-hostmanager.git","svn_url":"https://github.com/la-magra/vagrant-hostmanager","homepage":null,"size":1115,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"smdahlen:master","ref":"master","sha":"176d70efc5a701c8901ffe29b71ce792709aa7e3","user":{"login":"smdahlen","id":156816,"avatar_url":"https://avatars.githubusercontent.com/u/156816?v=3","gravatar_id":"","url":"https://api.github.com/users/smdahlen","html_url":"https://github.com/smdahlen","followers_url":"https://api.github.com/users/smdahlen/followers","following_url":"https://api.github.com/users/smdahlen/following{/other_user}","gists_url":"https://api.github.com/users/smdahlen/gists{/gist_id}","starred_url":"https://api.github.com/users/smdahlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smdahlen/subscriptions","organizations_url":"https://api.github.com/users/smdahlen/orgs","repos_url":"https://api.github.com/users/smdahlen/repos","events_url":"https://api.github.com/users/smdahlen/events{/privacy}","received_events_url":"https://api.github.com/users/smdahlen/received_events","type":"User","site_admin":false},"repo":{"id":9061947,"name":"vagrant-hostmanager","full_name":"smdahlen/vagrant-hostmanager","owner":{"login":"smdahlen","id":156816,"avatar_url":"https://avatars.githubusercontent.com/u/156816?v=3","gravatar_id":"","url":"https://api.github.com/users/smdahlen","html_url":"https://github.com/smdahlen","followers_url":"https://api.github.com/users/smdahlen/followers","following_url":"https://api.github.com/users/smdahlen/following{/other_user}","gists_url":"https://api.github.com/users/smdahlen/gists{/gist_id}","starred_url":"https://api.github.com/users/smdahlen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smdahlen/subscriptions","organizations_url":"https://api.github.com/users/smdahlen/orgs","repos_url":"https://api.github.com/users/smdahlen/repos","events_url":"https://api.github.com/users/smdahlen/events{/privacy}","received_events_url":"https://api.github.com/users/smdahlen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smdahlen/vagrant-hostmanager","description":"A Vagrant plugin that manages the /etc/hosts file on guests within a multi-machine environment","fork":false,"url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager","forks_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/forks","keys_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/teams","hooks_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/hooks","issue_events_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues/events{/number}","events_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/events","assignees_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/assignees{/user}","branches_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/branches{/branch}","tags_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/tags","blobs_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/git/refs{/sha}","trees_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/statuses/{sha}","languages_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/languages","stargazers_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/stargazers","contributors_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/contributors","subscribers_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/subscribers","subscription_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/subscription","commits_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/commits{/sha}","git_commits_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/git/commits{/sha}","comments_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/comments{/number}","issue_comment_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues/comments{/number}","contents_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/contents/{+path}","compare_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/merges","archive_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/downloads","issues_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues{/number}","pulls_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls{/number}","milestones_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/milestones{/number}","notifications_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/labels{/name}","releases_url":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/releases{/id}","created_at":"2013-03-27T19:33:12Z","updated_at":"2015-03-05T15:47:42Z","pushed_at":"2014-10-13T02:30:35Z","git_url":"git://github.com/smdahlen/vagrant-hostmanager.git","ssh_url":"git@github.com:smdahlen/vagrant-hostmanager.git","clone_url":"https://github.com/smdahlen/vagrant-hostmanager.git","svn_url":"https://github.com/smdahlen/vagrant-hostmanager","homepage":null,"size":1115,"stargazers_count":512,"watchers_count":512,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":67,"mirror_url":null,"open_issues_count":33,"forks":67,"open_issues":33,"watchers":512,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/139"},"html":{"href":"https://github.com/smdahlen/vagrant-hostmanager/pull/139"},"issue":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues/139"},"comments":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/smdahlen/vagrant-hostmanager/statuses/ca57c2394143593ddbdfe014fbe4c8ac4b5405a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}