GitHub PullRequestReviewCommentEvent at 2014-10-28 19:04:52
Repository: puppet-rjil
Actor: sorenh
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/comments/19495462","id":19495462,"diff_hunk":"@@ -0,0 +1,22 @@\n+define rjil::jiocloud::dns::entry (\n+  $ip = false,\n+  $cname = false\n+) {\n+  include ::dnsmasq::reload\n+\n+  if (!($ip or $cname)) {\n+    fail(\"DNS entry ${name} had neither IP nor CNAME specified\")\n+  }\n+\n+  if ($ip) {\n+    $ip_real = $ip\n+  } else {\n+    $ips = dns_a($cname)\n+\t$ip_real = $ips[0]\n+  }\n+\n+  host { $name:\n+    ip     => $ip_real,\n+\tnotify => Class['Dnsmasq::Reload']","path":"manifests/jiocloud/dns/entry.pp","position":null,"original_position":20,"commit_id":"13dcaea8c2f7eb2a21a206241ae4d79a0e5a5c1b","original_commit_id":"5b9430317fa9fef73056192711d224f01755d1fb","user":{"login":"sorenh","id":160090,"avatar_url":"https://avatars.githubusercontent.com/u/160090?v=2","gravatar_id":"","url":"https://api.github.com/users/sorenh","html_url":"https://github.com/sorenh","followers_url":"https://api.github.com/users/sorenh/followers","following_url":"https://api.github.com/users/sorenh/following{/other_user}","gists_url":"https://api.github.com/users/sorenh/gists{/gist_id}","starred_url":"https://api.github.com/users/sorenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorenh/subscriptions","organizations_url":"https://api.github.com/users/sorenh/orgs","repos_url":"https://api.github.com/users/sorenh/repos","events_url":"https://api.github.com/users/sorenh/events{/privacy}","received_events_url":"https://api.github.com/users/sorenh/received_events","type":"User","site_admin":false},"body":"Totally.","created_at":"2014-10-28T19:04:52Z","updated_at":"2014-10-28T19:04:52Z","html_url":"https://github.com/JioCloud/puppet-rjil/pull/133#discussion_r19495462","pull_request_url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133","_links":{"self":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/comments/19495462"},"html":{"href":"https://github.com/JioCloud/puppet-rjil/pull/133#discussion_r19495462"},"pull_request":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133","id":23451906,"html_url":"https://github.com/JioCloud/puppet-rjil/pull/133","diff_url":"https://github.com/JioCloud/puppet-rjil/pull/133.diff","patch_url":"https://github.com/JioCloud/puppet-rjil/pull/133.patch","issue_url":"https://api.github.com/repos/JioCloud/puppet-rjil/issues/133","number":133,"state":"open","locked":false,"title":"Create dns entry type","user":{"login":"sorenh","id":160090,"avatar_url":"https://avatars.githubusercontent.com/u/160090?v=2","gravatar_id":"","url":"https://api.github.com/users/sorenh","html_url":"https://github.com/sorenh","followers_url":"https://api.github.com/users/sorenh/followers","following_url":"https://api.github.com/users/sorenh/following{/other_user}","gists_url":"https://api.github.com/users/sorenh/gists{/gist_id}","starred_url":"https://api.github.com/users/sorenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorenh/subscriptions","organizations_url":"https://api.github.com/users/sorenh/orgs","repos_url":"https://api.github.com/users/sorenh/repos","events_url":"https://api.github.com/users/sorenh/events{/privacy}","received_events_url":"https://api.github.com/users/sorenh/received_events","type":"User","site_admin":false},"body":"It currently populates /etc/hosts and reloads dnsmasq.","created_at":"2014-10-28T12:18:26Z","updated_at":"2014-10-28T19:04:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc604793c9cf8f52d0ca6203a0870c91daa00722","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133/commits","review_comments_url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133/comments","review_comment_url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/comments/{number}","comments_url":"https://api.github.com/repos/JioCloud/puppet-rjil/issues/133/comments","statuses_url":"https://api.github.com/repos/JioCloud/puppet-rjil/statuses/13dcaea8c2f7eb2a21a206241ae4d79a0e5a5c1b","head":{"label":"sorenh:dns","ref":"dns","sha":"13dcaea8c2f7eb2a21a206241ae4d79a0e5a5c1b","user":{"login":"sorenh","id":160090,"avatar_url":"https://avatars.githubusercontent.com/u/160090?v=2","gravatar_id":"","url":"https://api.github.com/users/sorenh","html_url":"https://github.com/sorenh","followers_url":"https://api.github.com/users/sorenh/followers","following_url":"https://api.github.com/users/sorenh/following{/other_user}","gists_url":"https://api.github.com/users/sorenh/gists{/gist_id}","starred_url":"https://api.github.com/users/sorenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorenh/subscriptions","organizations_url":"https://api.github.com/users/sorenh/orgs","repos_url":"https://api.github.com/users/sorenh/repos","events_url":"https://api.github.com/users/sorenh/events{/privacy}","received_events_url":"https://api.github.com/users/sorenh/received_events","type":"User","site_admin":false},"repo":{"id":21775499,"name":"puppet-rjil","full_name":"sorenh/puppet-rjil","owner":{"login":"sorenh","id":160090,"avatar_url":"https://avatars.githubusercontent.com/u/160090?v=2","gravatar_id":"","url":"https://api.github.com/users/sorenh","html_url":"https://github.com/sorenh","followers_url":"https://api.github.com/users/sorenh/followers","following_url":"https://api.github.com/users/sorenh/following{/other_user}","gists_url":"https://api.github.com/users/sorenh/gists{/gist_id}","starred_url":"https://api.github.com/users/sorenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorenh/subscriptions","organizations_url":"https://api.github.com/users/sorenh/orgs","repos_url":"https://api.github.com/users/sorenh/repos","events_url":"https://api.github.com/users/sorenh/events{/privacy}","received_events_url":"https://api.github.com/users/sorenh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sorenh/puppet-rjil","description":"","fork":true,"url":"https://api.github.com/repos/sorenh/puppet-rjil","forks_url":"https://api.github.com/repos/sorenh/puppet-rjil/forks","keys_url":"https://api.github.com/repos/sorenh/puppet-rjil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sorenh/puppet-rjil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sorenh/puppet-rjil/teams","hooks_url":"https://api.github.com/repos/sorenh/puppet-rjil/hooks","issue_events_url":"https://api.github.com/repos/sorenh/puppet-rjil/issues/events{/number}","events_url":"https://api.github.com/repos/sorenh/puppet-rjil/events","assignees_url":"https://api.github.com/repos/sorenh/puppet-rjil/assignees{/user}","branches_url":"https://api.github.com/repos/sorenh/puppet-rjil/branches{/branch}","tags_url":"https://api.github.com/repos/sorenh/puppet-rjil/tags","blobs_url":"https://api.github.com/repos/sorenh/puppet-rjil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sorenh/puppet-rjil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sorenh/puppet-rjil/git/refs{/sha}","trees_url":"https://api.github.com/repos/sorenh/puppet-rjil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sorenh/puppet-rjil/statuses/{sha}","languages_url":"https://api.github.com/repos/sorenh/puppet-rjil/languages","stargazers_url":"https://api.github.com/repos/sorenh/puppet-rjil/stargazers","contributors_url":"https://api.github.com/repos/sorenh/puppet-rjil/contributors","subscribers_url":"https://api.github.com/repos/sorenh/puppet-rjil/subscribers","subscription_url":"https://api.github.com/repos/sorenh/puppet-rjil/subscription","commits_url":"https://api.github.com/repos/sorenh/puppet-rjil/commits{/sha}","git_commits_url":"https://api.github.com/repos/sorenh/puppet-rjil/git/commits{/sha}","comments_url":"https://api.github.com/repos/sorenh/puppet-rjil/comments{/number}","issue_comment_url":"https://api.github.com/repos/sorenh/puppet-rjil/issues/comments/{number}","contents_url":"https://api.github.com/repos/sorenh/puppet-rjil/contents/{+path}","compare_url":"https://api.github.com/repos/sorenh/puppet-rjil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sorenh/puppet-rjil/merges","archive_url":"https://api.github.com/repos/sorenh/puppet-rjil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sorenh/puppet-rjil/downloads","issues_url":"https://api.github.com/repos/sorenh/puppet-rjil/issues{/number}","pulls_url":"https://api.github.com/repos/sorenh/puppet-rjil/pulls{/number}","milestones_url":"https://api.github.com/repos/sorenh/puppet-rjil/milestones{/number}","notifications_url":"https://api.github.com/repos/sorenh/puppet-rjil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sorenh/puppet-rjil/labels{/name}","releases_url":"https://api.github.com/repos/sorenh/puppet-rjil/releases{/id}","created_at":"2014-07-12T20:05:14Z","updated_at":"2014-07-12T20:05:45Z","pushed_at":"2014-10-28T19:04:44Z","git_url":"git://github.com/sorenh/puppet-rjil.git","ssh_url":"git@github.com:sorenh/puppet-rjil.git","clone_url":"https://github.com/sorenh/puppet-rjil.git","svn_url":"https://github.com/sorenh/puppet-rjil","homepage":null,"size":736,"stargazers_count":0,"watchers_count":0,"language":"Puppet","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"JioCloud:master","ref":"master","sha":"5e15f4d0eb066df8f923bb47af98766df0a8ee6e","user":{"login":"JioCloud","id":5500757,"avatar_url":"https://avatars.githubusercontent.com/u/5500757?v=2","gravatar_id":"","url":"https://api.github.com/users/JioCloud","html_url":"https://github.com/JioCloud","followers_url":"https://api.github.com/users/JioCloud/followers","following_url":"https://api.github.com/users/JioCloud/following{/other_user}","gists_url":"https://api.github.com/users/JioCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/JioCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JioCloud/subscriptions","organizations_url":"https://api.github.com/users/JioCloud/orgs","repos_url":"https://api.github.com/users/JioCloud/repos","events_url":"https://api.github.com/users/JioCloud/events{/privacy}","received_events_url":"https://api.github.com/users/JioCloud/received_events","type":"Organization","site_admin":false},"repo":{"id":16161513,"name":"puppet-rjil","full_name":"JioCloud/puppet-rjil","owner":{"login":"JioCloud","id":5500757,"avatar_url":"https://avatars.githubusercontent.com/u/5500757?v=2","gravatar_id":"","url":"https://api.github.com/users/JioCloud","html_url":"https://github.com/JioCloud","followers_url":"https://api.github.com/users/JioCloud/followers","following_url":"https://api.github.com/users/JioCloud/following{/other_user}","gists_url":"https://api.github.com/users/JioCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/JioCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JioCloud/subscriptions","organizations_url":"https://api.github.com/users/JioCloud/orgs","repos_url":"https://api.github.com/users/JioCloud/repos","events_url":"https://api.github.com/users/JioCloud/events{/privacy}","received_events_url":"https://api.github.com/users/JioCloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JioCloud/puppet-rjil","description":"","fork":false,"url":"https://api.github.com/repos/JioCloud/puppet-rjil","forks_url":"https://api.github.com/repos/JioCloud/puppet-rjil/forks","keys_url":"https://api.github.com/repos/JioCloud/puppet-rjil/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JioCloud/puppet-rjil/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JioCloud/puppet-rjil/teams","hooks_url":"https://api.github.com/repos/JioCloud/puppet-rjil/hooks","issue_events_url":"https://api.github.com/repos/JioCloud/puppet-rjil/issues/events{/number}","events_url":"https://api.github.com/repos/JioCloud/puppet-rjil/events","assignees_url":"https://api.github.com/repos/JioCloud/puppet-rjil/assignees{/user}","branches_url":"https://api.github.com/repos/JioCloud/puppet-rjil/branches{/branch}","tags_url":"https://api.github.com/repos/JioCloud/puppet-rjil/tags","blobs_url":"https://api.github.com/repos/JioCloud/puppet-rjil/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JioCloud/puppet-rjil/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JioCloud/puppet-rjil/git/refs{/sha}","trees_url":"https://api.github.com/repos/JioCloud/puppet-rjil/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JioCloud/puppet-rjil/statuses/{sha}","languages_url":"https://api.github.com/repos/JioCloud/puppet-rjil/languages","stargazers_url":"https://api.github.com/repos/JioCloud/puppet-rjil/stargazers","contributors_url":"https://api.github.com/repos/JioCloud/puppet-rjil/contributors","subscribers_url":"https://api.github.com/repos/JioCloud/puppet-rjil/subscribers","subscription_url":"https://api.github.com/repos/JioCloud/puppet-rjil/subscription","commits_url":"https://api.github.com/repos/JioCloud/puppet-rjil/commits{/sha}","git_commits_url":"https://api.github.com/repos/JioCloud/puppet-rjil/git/commits{/sha}","comments_url":"https://api.github.com/repos/JioCloud/puppet-rjil/comments{/number}","issue_comment_url":"https://api.github.com/repos/JioCloud/puppet-rjil/issues/comments/{number}","contents_url":"https://api.github.com/repos/JioCloud/puppet-rjil/contents/{+path}","compare_url":"https://api.github.com/repos/JioCloud/puppet-rjil/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JioCloud/puppet-rjil/merges","archive_url":"https://api.github.com/repos/JioCloud/puppet-rjil/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JioCloud/puppet-rjil/downloads","issues_url":"https://api.github.com/repos/JioCloud/puppet-rjil/issues{/number}","pulls_url":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls{/number}","milestones_url":"https://api.github.com/repos/JioCloud/puppet-rjil/milestones{/number}","notifications_url":"https://api.github.com/repos/JioCloud/puppet-rjil/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JioCloud/puppet-rjil/labels{/name}","releases_url":"https://api.github.com/repos/JioCloud/puppet-rjil/releases{/id}","created_at":"2014-01-23T03:45:55Z","updated_at":"2014-09-19T11:28:56Z","pushed_at":"2014-10-28T02:34:50Z","git_url":"git://github.com/JioCloud/puppet-rjil.git","ssh_url":"git@github.com:JioCloud/puppet-rjil.git","clone_url":"https://github.com/JioCloud/puppet-rjil.git","svn_url":"https://github.com/JioCloud/puppet-rjil","homepage":null,"size":2428,"stargazers_count":1,"watchers_count":1,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133"},"html":{"href":"https://github.com/JioCloud/puppet-rjil/pull/133"},"issue":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/issues/133"},"comments":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/JioCloud/puppet-rjil/statuses/13dcaea8c2f7eb2a21a206241ae4d79a0e5a5c1b"}}}}