{"action":"created","comment":{"url":"https://api.github.com/repos/ocf/puppet/pulls/comments/91034111","pull_request_review_id":11543950,"id":91034111,"diff_hunk":"@@ -33,10 +33,8 @@ def trigger_run():\n         sys.exit(1)\n \n \n-def tail_syslog():\n-    # call less in \"secure\" mode since this is triggered by passwordless sudo\n-    os.environ['LESSSECURE'] = '1'\n-    os.execvp('less', ('less', '+F', '/var/log/syslog'))\n+def show_journal():\n+    os.execvp('journalctl', ('journalctl', '-f', '-u', 'puppet.service'))","path":"modules/ocf/files/puppet-trigger","position":18,"original_position":18,"commit_id":"67c1ec70e15f287a691787f2825ccedc310d8676","original_commit_id":"67c1ec70e15f287a691787f2825ccedc310d8676","user":{"login":"chriskuehl","id":665269,"avatar_url":"https://avatars.githubusercontent.com/u/665269?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskuehl","html_url":"https://github.com/chriskuehl","followers_url":"https://api.github.com/users/chriskuehl/followers","following_url":"https://api.github.com/users/chriskuehl/following{/other_user}","gists_url":"https://api.github.com/users/chriskuehl/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskuehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskuehl/subscriptions","organizations_url":"https://api.github.com/users/chriskuehl/orgs","repos_url":"https://api.github.com/users/chriskuehl/repos","events_url":"https://api.github.com/users/chriskuehl/events{/privacy}","received_events_url":"https://api.github.com/users/chriskuehl/received_events","type":"User","site_admin":false},"body":"true, apparently if you tail it doesn't\r\n\r\nthough i think that's another regression since now you can't scroll :(","created_at":"2016-12-06T08:55:34Z","updated_at":"2016-12-06T08:55:34Z","html_url":"https://github.com/ocf/puppet/pull/103#discussion_r91034111","pull_request_url":"https://api.github.com/repos/ocf/puppet/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/ocf/puppet/pulls/comments/91034111"},"html":{"href":"https://github.com/ocf/puppet/pull/103#discussion_r91034111"},"pull_request":{"href":"https://api.github.com/repos/ocf/puppet/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/ocf/puppet/pulls/103","id":96677477,"html_url":"https://github.com/ocf/puppet/pull/103","diff_url":"https://github.com/ocf/puppet/pull/103.diff","patch_url":"https://github.com/ocf/puppet/pull/103.patch","issue_url":"https://api.github.com/repos/ocf/puppet/issues/103","number":103,"state":"open","locked":false,"title":"puppet-trigger: show syslog from only puppet-agent","user":{"login":"kpengboy","id":4122890,"avatar_url":"https://avatars.githubusercontent.com/u/4122890?v=3","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":"Comments? Good idea? Bad idea?","created_at":"2016-12-06T08:04:53Z","updated_at":"2016-12-06T08:55:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b90978622cf30fbd9131a2f84908fedce6c25b7","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ocf/puppet/pulls/103/commits","review_comments_url":"https://api.github.com/repos/ocf/puppet/pulls/103/comments","review_comment_url":"https://api.github.com/repos/ocf/puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ocf/puppet/issues/103/comments","statuses_url":"https://api.github.com/repos/ocf/puppet/statuses/67c1ec70e15f287a691787f2825ccedc310d8676","head":{"label":"ocf:journalctl","ref":"journalctl","sha":"67c1ec70e15f287a691787f2825ccedc310d8676","user":{"login":"ocf","id":1504667,"avatar_url":"https://avatars.githubusercontent.com/u/1504667?v=3","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://avatars.githubusercontent.com/u/1504667?v=3","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":"2016-10-22T02:37:42Z","pushed_at":"2016-12-06T08:04:53Z","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":3113,"stargazers_count":8,"watchers_count":8,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":8,"default_branch":"master"}},"base":{"label":"ocf:master","ref":"master","sha":"f1fa986e1faff52ae81c99a64526dc03418c6630","user":{"login":"ocf","id":1504667,"avatar_url":"https://avatars.githubusercontent.com/u/1504667?v=3","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://avatars.githubusercontent.com/u/1504667?v=3","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":"2016-10-22T02:37:42Z","pushed_at":"2016-12-06T08:04:53Z","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":3113,"stargazers_count":8,"watchers_count":8,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":8,"forks":9,"open_issues":8,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ocf/puppet/pulls/103"},"html":{"href":"https://github.com/ocf/puppet/pull/103"},"issue":{"href":"https://api.github.com/repos/ocf/puppet/issues/103"},"comments":{"href":"https://api.github.com/repos/ocf/puppet/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/ocf/puppet/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/ocf/puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ocf/puppet/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/ocf/puppet/statuses/67c1ec70e15f287a691787f2825ccedc310d8676"}}}}
{"actor":{"display_login":"chriskuehl"}}