{"action":"created","comment":{"url":"https://api.github.com/repos/ocf/puppet/pulls/comments/179940267","pull_request_review_id":110279613,"id":179940267,"diff_hunk":"@@ -5,27 +5,31 @@\n     extra_options  => '--web.listen-address=\"127.0.0.1:9090\" --web.external-url=http://127.0.0.1/prom',\n     alerts         => {},\n     scrape_configs => [\n-      { 'job_name' => 'prometheus',\n+      {\n+        'job_name'        => 'prometheus',\n         'scrape_interval' => '10s',\n         'scrape_timeout'  => '10s',\n         'static_configs'  => [\n-          { 'targets' => [ 'localhost:9090' ],\n-            'labels'  => { 'alias' => 'Prometheus' }\n-          }\n-        ]\n+          {\n+            'targets' => [ 'localhost:9090' ],\n+            'labels'  => { 'alias' => 'Prometheus' },\n+          },\n+        ],","path":"modules/ocf_stats/manifests/prometheus.pp","position":18,"original_position":18,"commit_id":"25711a4b4876e74338e63f9930962492aee7a22f","original_commit_id":"25711a4b4876e74338e63f9930962492aee7a22f","user":{"login":"jvperrin","id":1523594,"avatar_url":"https://avatars1.githubusercontent.com/u/1523594?v=4","gravatar_id":"","url":"https://api.github.com/users/jvperrin","html_url":"https://github.com/jvperrin","followers_url":"https://api.github.com/users/jvperrin/followers","following_url":"https://api.github.com/users/jvperrin/following{/other_user}","gists_url":"https://api.github.com/users/jvperrin/gists{/gist_id}","starred_url":"https://api.github.com/users/jvperrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvperrin/subscriptions","organizations_url":"https://api.github.com/users/jvperrin/orgs","repos_url":"https://api.github.com/users/jvperrin/repos","events_url":"https://api.github.com/users/jvperrin/events{/privacy}","received_events_url":"https://api.github.com/users/jvperrin/received_events","type":"User","site_admin":false},"body":"This is actually pretty nice","created_at":"2018-04-08T08:40:30Z","updated_at":"2018-04-08T08:40:41Z","html_url":"https://github.com/ocf/puppet/pull/312#discussion_r179940267","pull_request_url":"https://api.github.com/repos/ocf/puppet/pulls/312","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ocf/puppet/pulls/comments/179940267"},"html":{"href":"https://github.com/ocf/puppet/pull/312#discussion_r179940267"},"pull_request":{"href":"https://api.github.com/repos/ocf/puppet/pulls/312"}}},"pull_request":{"url":"https://api.github.com/repos/ocf/puppet/pulls/312","id":180137115,"html_url":"https://github.com/ocf/puppet/pull/312","diff_url":"https://github.com/ocf/puppet/pull/312.diff","patch_url":"https://github.com/ocf/puppet/pull/312.patch","issue_url":"https://api.github.com/repos/ocf/puppet/issues/312","number":312,"state":"open","locked":false,"title":" Re-enable arrow alignment puppet-lint check","user":{"login":"kpengboy","id":4122890,"avatar_url":"https://avatars3.githubusercontent.com/u/4122890?v=4","gravatar_id":"","url":"https://api.github.com/users/kpengboy","html_url":"https://github.com/kpengboy","followers_url":"https://api.github.com/users/kpengboy/followers","following_url":"https://api.github.com/users/kpengboy/following{/other_user}","gists_url":"https://api.github.com/users/kpengboy/gists{/gist_id}","starred_url":"https://api.github.com/users/kpengboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpengboy/subscriptions","organizations_url":"https://api.github.com/users/kpengboy/orgs","repos_url":"https://api.github.com/users/kpengboy/repos","events_url":"https://api.github.com/users/kpengboy/events{/privacy}","received_events_url":"https://api.github.com/users/kpengboy/received_events","type":"User","site_admin":false},"body":"It used to give pathological results for things like\r\n\r\n```puppet\r\nthing => {\r\n  a => b,\r\n  b => c,\r\n},\r\n```\r\n\r\nbut it seems to have been fixed in newer versions of puppet-lint.\r\n\r\nAlso auto-fix Puppet style errors.","created_at":"2018-04-08T03:20:00Z","updated_at":"2018-04-08T08:40:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4667526d66d8d176b86748d304426982c64bd05e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ocf/puppet/pulls/312/commits","review_comments_url":"https://api.github.com/repos/ocf/puppet/pulls/312/comments","review_comment_url":"https://api.github.com/repos/ocf/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocf/puppet/issues/312/comments","statuses_url":"https://api.github.com/repos/ocf/puppet/statuses/25711a4b4876e74338e63f9930962492aee7a22f","head":{"label":"ocf:arrow-alignment","ref":"arrow-alignment","sha":"25711a4b4876e74338e63f9930962492aee7a22f","user":{"login":"ocf","id":1504667,"avatar_url":"https://avatars2.githubusercontent.com/u/1504667?v=4","gravatar_id":"","url":"https://api.github.com/users/ocf","html_url":"https://github.com/ocf","followers_url":"https://api.github.com/users/ocf/followers","following_url":"https://api.github.com/users/ocf/following{/other_user}","gists_url":"https://api.github.com/users/ocf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocf/subscriptions","organizations_url":"https://api.github.com/users/ocf/orgs","repos_url":"https://api.github.com/users/ocf/repos","events_url":"https://api.github.com/users/ocf/events{/privacy}","received_events_url":"https://api.github.com/users/ocf/received_events","type":"Organization","site_admin":false},"repo":{"id":7022222,"name":"puppet","full_name":"ocf/puppet","owner":{"login":"ocf","id":1504667,"avatar_url":"https://avatars2.githubusercontent.com/u/1504667?v=4","gravatar_id":"","url":"https://api.github.com/users/ocf","html_url":"https://github.com/ocf","followers_url":"https://api.github.com/users/ocf/followers","following_url":"https://api.github.com/users/ocf/following{/other_user}","gists_url":"https://api.github.com/users/ocf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocf/subscriptions","organizations_url":"https://api.github.com/users/ocf/orgs","repos_url":"https://api.github.com/users/ocf/repos","events_url":"https://api.github.com/users/ocf/events{/privacy}","received_events_url":"https://api.github.com/users/ocf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocf/puppet","description":"Puppet config for OCF servers and lab machines","fork":false,"url":"https://api.github.com/repos/ocf/puppet","forks_url":"https://api.github.com/repos/ocf/puppet/forks","keys_url":"https://api.github.com/repos/ocf/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocf/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocf/puppet/teams","hooks_url":"https://api.github.com/repos/ocf/puppet/hooks","issue_events_url":"https://api.github.com/repos/ocf/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/ocf/puppet/events","assignees_url":"https://api.github.com/repos/ocf/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/ocf/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/ocf/puppet/tags","blobs_url":"https://api.github.com/repos/ocf/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocf/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocf/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocf/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocf/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/ocf/puppet/languages","stargazers_url":"https://api.github.com/repos/ocf/puppet/stargazers","contributors_url":"https://api.github.com/repos/ocf/puppet/contributors","subscribers_url":"https://api.github.com/repos/ocf/puppet/subscribers","subscription_url":"https://api.github.com/repos/ocf/puppet/subscription","commits_url":"https://api.github.com/repos/ocf/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocf/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocf/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocf/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocf/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/ocf/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocf/puppet/merges","archive_url":"https://api.github.com/repos/ocf/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocf/puppet/downloads","issues_url":"https://api.github.com/repos/ocf/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/ocf/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/ocf/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/ocf/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocf/puppet/labels{/name}","releases_url":"https://api.github.com/repos/ocf/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/ocf/puppet/deployments","created_at":"2012-12-05T18:16:15Z","updated_at":"2018-04-07T06:54:24Z","pushed_at":"2018-04-08T03:51:15Z","git_url":"git://github.com/ocf/puppet.git","ssh_url":"git@github.com:ocf/puppet.git","clone_url":"https://github.com/ocf/puppet.git","svn_url":"https://github.com/ocf/puppet","homepage":"https://www.ocf.berkeley.edu/","size":4840,"stargazers_count":12,"watchers_count":12,"language":"Puppet","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":30,"open_issues":13,"watchers":12,"default_branch":"master"}},"base":{"label":"ocf:master","ref":"master","sha":"baef6f7a000e0aa2b0b9fe205242f87b64d53f25","user":{"login":"ocf","id":1504667,"avatar_url":"https://avatars2.githubusercontent.com/u/1504667?v=4","gravatar_id":"","url":"https://api.github.com/users/ocf","html_url":"https://github.com/ocf","followers_url":"https://api.github.com/users/ocf/followers","following_url":"https://api.github.com/users/ocf/following{/other_user}","gists_url":"https://api.github.com/users/ocf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocf/subscriptions","organizations_url":"https://api.github.com/users/ocf/orgs","repos_url":"https://api.github.com/users/ocf/repos","events_url":"https://api.github.com/users/ocf/events{/privacy}","received_events_url":"https://api.github.com/users/ocf/received_events","type":"Organization","site_admin":false},"repo":{"id":7022222,"name":"puppet","full_name":"ocf/puppet","owner":{"login":"ocf","id":1504667,"avatar_url":"https://avatars2.githubusercontent.com/u/1504667?v=4","gravatar_id":"","url":"https://api.github.com/users/ocf","html_url":"https://github.com/ocf","followers_url":"https://api.github.com/users/ocf/followers","following_url":"https://api.github.com/users/ocf/following{/other_user}","gists_url":"https://api.github.com/users/ocf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocf/subscriptions","organizations_url":"https://api.github.com/users/ocf/orgs","repos_url":"https://api.github.com/users/ocf/repos","events_url":"https://api.github.com/users/ocf/events{/privacy}","received_events_url":"https://api.github.com/users/ocf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ocf/puppet","description":"Puppet config for OCF servers and lab machines","fork":false,"url":"https://api.github.com/repos/ocf/puppet","forks_url":"https://api.github.com/repos/ocf/puppet/forks","keys_url":"https://api.github.com/repos/ocf/puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ocf/puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ocf/puppet/teams","hooks_url":"https://api.github.com/repos/ocf/puppet/hooks","issue_events_url":"https://api.github.com/repos/ocf/puppet/issues/events{/number}","events_url":"https://api.github.com/repos/ocf/puppet/events","assignees_url":"https://api.github.com/repos/ocf/puppet/assignees{/user}","branches_url":"https://api.github.com/repos/ocf/puppet/branches{/branch}","tags_url":"https://api.github.com/repos/ocf/puppet/tags","blobs_url":"https://api.github.com/repos/ocf/puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ocf/puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ocf/puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ocf/puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ocf/puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/ocf/puppet/languages","stargazers_url":"https://api.github.com/repos/ocf/puppet/stargazers","contributors_url":"https://api.github.com/repos/ocf/puppet/contributors","subscribers_url":"https://api.github.com/repos/ocf/puppet/subscribers","subscription_url":"https://api.github.com/repos/ocf/puppet/subscription","commits_url":"https://api.github.com/repos/ocf/puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ocf/puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ocf/puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ocf/puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/ocf/puppet/contents/{+path}","compare_url":"https://api.github.com/repos/ocf/puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ocf/puppet/merges","archive_url":"https://api.github.com/repos/ocf/puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ocf/puppet/downloads","issues_url":"https://api.github.com/repos/ocf/puppet/issues{/number}","pulls_url":"https://api.github.com/repos/ocf/puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/ocf/puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/ocf/puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ocf/puppet/labels{/name}","releases_url":"https://api.github.com/repos/ocf/puppet/releases{/id}","deployments_url":"https://api.github.com/repos/ocf/puppet/deployments","created_at":"2012-12-05T18:16:15Z","updated_at":"2018-04-07T06:54:24Z","pushed_at":"2018-04-08T03:51:15Z","git_url":"git://github.com/ocf/puppet.git","ssh_url":"git@github.com:ocf/puppet.git","clone_url":"https://github.com/ocf/puppet.git","svn_url":"https://github.com/ocf/puppet","homepage":"https://www.ocf.berkeley.edu/","size":4840,"stargazers_count":12,"watchers_count":12,"language":"Puppet","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":30,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":30,"open_issues":13,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocf/puppet/pulls/312"},"html":{"href":"https://github.com/ocf/puppet/pull/312"},"issue":{"href":"https://api.github.com/repos/ocf/puppet/issues/312"},"comments":{"href":"https://api.github.com/repos/ocf/puppet/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/ocf/puppet/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/ocf/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocf/puppet/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/ocf/puppet/statuses/25711a4b4876e74338e63f9930962492aee7a22f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"jvperrin"}}