{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/2","id":37493377,"html_url":"https://github.com/simp/pupmod-simp-common/pull/2","diff_url":"https://github.com/simp/pupmod-simp-common/pull/2.diff","patch_url":"https://github.com/simp/pupmod-simp-common/pull/2.patch","issue_url":"https://api.github.com/repos/simp/pupmod-simp-common/issues/2","number":2,"state":"open","locked":false,"title":"(SIMP-30) Create a parse_hosts function.","user":{"login":"nick-markowski","id":12157406,"avatar_url":"https://avatars.githubusercontent.com/u/12157406?v=3","gravatar_id":"","url":"https://api.github.com/users/nick-markowski","html_url":"https://github.com/nick-markowski","followers_url":"https://api.github.com/users/nick-markowski/followers","following_url":"https://api.github.com/users/nick-markowski/following{/other_user}","gists_url":"https://api.github.com/users/nick-markowski/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-markowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-markowski/subscriptions","organizations_url":"https://api.github.com/users/nick-markowski/orgs","repos_url":"https://api.github.com/users/nick-markowski/repos","events_url":"https://api.github.com/users/nick-markowski/events{/privacy}","received_events_url":"https://api.github.com/users/nick-markowski/received_events","type":"User","site_admin":false},"body":"Created a function to parse host strings/urls.  Returns\r\na hash of hostnames with an array of ports and an array of protocols.\r\nModified strip_ports to use parse_hosts and added get_ports\r\nto return stripped ports.\r\n\r\nSIMP-30 #close Create a parse_hosts function.\r\nChange-Id: Ifab2f52cec98b8e4eb1109d5ff9e72947abdf921","created_at":"2015-06-11T18:23:23Z","updated_at":"2015-06-11T18:23:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/2/commits","review_comments_url":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/2/comments","review_comment_url":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/simp/pupmod-simp-common/issues/2/comments","statuses_url":"https://api.github.com/repos/simp/pupmod-simp-common/statuses/cf5e455c15c8afcfa357ce3d6947b1cf7c4fa7da","head":{"label":"nick-markowski:master","ref":"master","sha":"cf5e455c15c8afcfa357ce3d6947b1cf7c4fa7da","user":{"login":"nick-markowski","id":12157406,"avatar_url":"https://avatars.githubusercontent.com/u/12157406?v=3","gravatar_id":"","url":"https://api.github.com/users/nick-markowski","html_url":"https://github.com/nick-markowski","followers_url":"https://api.github.com/users/nick-markowski/followers","following_url":"https://api.github.com/users/nick-markowski/following{/other_user}","gists_url":"https://api.github.com/users/nick-markowski/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-markowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-markowski/subscriptions","organizations_url":"https://api.github.com/users/nick-markowski/orgs","repos_url":"https://api.github.com/users/nick-markowski/repos","events_url":"https://api.github.com/users/nick-markowski/events{/privacy}","received_events_url":"https://api.github.com/users/nick-markowski/received_events","type":"User","site_admin":false},"repo":{"id":36883613,"name":"pupmod-simp-common","full_name":"nick-markowski/pupmod-simp-common","owner":{"login":"nick-markowski","id":12157406,"avatar_url":"https://avatars.githubusercontent.com/u/12157406?v=3","gravatar_id":"","url":"https://api.github.com/users/nick-markowski","html_url":"https://github.com/nick-markowski","followers_url":"https://api.github.com/users/nick-markowski/followers","following_url":"https://api.github.com/users/nick-markowski/following{/other_user}","gists_url":"https://api.github.com/users/nick-markowski/gists{/gist_id}","starred_url":"https://api.github.com/users/nick-markowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nick-markowski/subscriptions","organizations_url":"https://api.github.com/users/nick-markowski/orgs","repos_url":"https://api.github.com/users/nick-markowski/repos","events_url":"https://api.github.com/users/nick-markowski/events{/privacy}","received_events_url":"https://api.github.com/users/nick-markowski/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nick-markowski/pupmod-simp-common","description":"The SIMP common Puppet Module","fork":true,"url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common","forks_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/forks","keys_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/teams","hooks_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/hooks","issue_events_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/issues/events{/number}","events_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/events","assignees_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/assignees{/user}","branches_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/branches{/branch}","tags_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/tags","blobs_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/statuses/{sha}","languages_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/languages","stargazers_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/stargazers","contributors_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/contributors","subscribers_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/subscribers","subscription_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/subscription","commits_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/contents/{+path}","compare_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/merges","archive_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/downloads","issues_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/issues{/number}","pulls_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/pulls{/number}","milestones_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/milestones{/number}","notifications_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/labels{/name}","releases_url":"https://api.github.com/repos/nick-markowski/pupmod-simp-common/releases{/id}","created_at":"2015-06-04T16:52:22Z","updated_at":"2015-06-04T16:52:26Z","pushed_at":"2015-06-11T18:21:21Z","git_url":"git://github.com/nick-markowski/pupmod-simp-common.git","ssh_url":"git@github.com:nick-markowski/pupmod-simp-common.git","clone_url":"https://github.com/nick-markowski/pupmod-simp-common.git","svn_url":"https://github.com/nick-markowski/pupmod-simp-common","homepage":null,"size":194,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"simp:master","ref":"master","sha":"ee702d07ea36c0b8c17e38562791b8a0bae915a0","user":{"login":"simp","id":12174186,"avatar_url":"https://avatars.githubusercontent.com/u/12174186?v=3","gravatar_id":"","url":"https://api.github.com/users/simp","html_url":"https://github.com/simp","followers_url":"https://api.github.com/users/simp/followers","following_url":"https://api.github.com/users/simp/following{/other_user}","gists_url":"https://api.github.com/users/simp/gists{/gist_id}","starred_url":"https://api.github.com/users/simp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simp/subscriptions","organizations_url":"https://api.github.com/users/simp/orgs","repos_url":"https://api.github.com/users/simp/repos","events_url":"https://api.github.com/users/simp/events{/privacy}","received_events_url":"https://api.github.com/users/simp/received_events","type":"Organization","site_admin":false},"repo":{"id":35873640,"name":"pupmod-simp-common","full_name":"simp/pupmod-simp-common","owner":{"login":"simp","id":12174186,"avatar_url":"https://avatars.githubusercontent.com/u/12174186?v=3","gravatar_id":"","url":"https://api.github.com/users/simp","html_url":"https://github.com/simp","followers_url":"https://api.github.com/users/simp/followers","following_url":"https://api.github.com/users/simp/following{/other_user}","gists_url":"https://api.github.com/users/simp/gists{/gist_id}","starred_url":"https://api.github.com/users/simp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simp/subscriptions","organizations_url":"https://api.github.com/users/simp/orgs","repos_url":"https://api.github.com/users/simp/repos","events_url":"https://api.github.com/users/simp/events{/privacy}","received_events_url":"https://api.github.com/users/simp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/simp/pupmod-simp-common","description":"The SIMP common Puppet Module","fork":false,"url":"https://api.github.com/repos/simp/pupmod-simp-common","forks_url":"https://api.github.com/repos/simp/pupmod-simp-common/forks","keys_url":"https://api.github.com/repos/simp/pupmod-simp-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simp/pupmod-simp-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simp/pupmod-simp-common/teams","hooks_url":"https://api.github.com/repos/simp/pupmod-simp-common/hooks","issue_events_url":"https://api.github.com/repos/simp/pupmod-simp-common/issues/events{/number}","events_url":"https://api.github.com/repos/simp/pupmod-simp-common/events","assignees_url":"https://api.github.com/repos/simp/pupmod-simp-common/assignees{/user}","branches_url":"https://api.github.com/repos/simp/pupmod-simp-common/branches{/branch}","tags_url":"https://api.github.com/repos/simp/pupmod-simp-common/tags","blobs_url":"https://api.github.com/repos/simp/pupmod-simp-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simp/pupmod-simp-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simp/pupmod-simp-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/simp/pupmod-simp-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simp/pupmod-simp-common/statuses/{sha}","languages_url":"https://api.github.com/repos/simp/pupmod-simp-common/languages","stargazers_url":"https://api.github.com/repos/simp/pupmod-simp-common/stargazers","contributors_url":"https://api.github.com/repos/simp/pupmod-simp-common/contributors","subscribers_url":"https://api.github.com/repos/simp/pupmod-simp-common/subscribers","subscription_url":"https://api.github.com/repos/simp/pupmod-simp-common/subscription","commits_url":"https://api.github.com/repos/simp/pupmod-simp-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/simp/pupmod-simp-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/simp/pupmod-simp-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/simp/pupmod-simp-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/simp/pupmod-simp-common/contents/{+path}","compare_url":"https://api.github.com/repos/simp/pupmod-simp-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simp/pupmod-simp-common/merges","archive_url":"https://api.github.com/repos/simp/pupmod-simp-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simp/pupmod-simp-common/downloads","issues_url":"https://api.github.com/repos/simp/pupmod-simp-common/issues{/number}","pulls_url":"https://api.github.com/repos/simp/pupmod-simp-common/pulls{/number}","milestones_url":"https://api.github.com/repos/simp/pupmod-simp-common/milestones{/number}","notifications_url":"https://api.github.com/repos/simp/pupmod-simp-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simp/pupmod-simp-common/labels{/name}","releases_url":"https://api.github.com/repos/simp/pupmod-simp-common/releases{/id}","created_at":"2015-05-19T09:49:33Z","updated_at":"2015-05-29T04:54:21Z","pushed_at":"2015-06-11T18:21:22Z","git_url":"git://github.com/simp/pupmod-simp-common.git","ssh_url":"git@github.com:simp/pupmod-simp-common.git","clone_url":"https://github.com/simp/pupmod-simp-common.git","svn_url":"https://github.com/simp/pupmod-simp-common","homepage":null,"size":235,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/2"},"html":{"href":"https://github.com/simp/pupmod-simp-common/pull/2"},"issue":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/issues/2"},"comments":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/simp/pupmod-simp-common/statuses/cf5e455c15c8afcfa357ce3d6947b1cf7c4fa7da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":110,"deletions":21,"changed_files":4}}