{"action":"created","comment":{"url":"https://api.github.com/repos/nubisproject/nubis-base/pulls/comments/42273854","id":42273854,"diff_hunk":"@@ -4,17 +4,25 @@\n }\n \n # Make fluentd run as root so it can read all log files\n-file { \"/etc/sysconfig\":\n-  ensure => \"directory\",\n-  owner  => \"root\",\n-  group  => \"root\",\n-  mode    => '0755',\n-}->\n-file { \"/etc/sysconfig/td-agent\":\n-  ensure => \"present\",\n-  owner  => \"root\",\n-  group  => \"root\",\n-  source => \"puppet:///nubis/files/fluentd.sysconfig\",\n+if $osfamily == 'RedHat' {\n+  file { \"/etc/sysconfig\":","path":"nubis/puppet/fluentd.pp","position":16,"original_position":16,"commit_id":"b1be46374b34c7da474338981e88c0752a8ece13","original_commit_id":"b1be46374b34c7da474338981e88c0752a8ece13","user":{"login":"limed","id":145126,"avatar_url":"https://avatars.githubusercontent.com/u/145126?v=3","gravatar_id":"","url":"https://api.github.com/users/limed","html_url":"https://github.com/limed","followers_url":"https://api.github.com/users/limed/followers","following_url":"https://api.github.com/users/limed/following{/other_user}","gists_url":"https://api.github.com/users/limed/gists{/gist_id}","starred_url":"https://api.github.com/users/limed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limed/subscriptions","organizations_url":"https://api.github.com/users/limed/orgs","repos_url":"https://api.github.com/users/limed/repos","events_url":"https://api.github.com/users/limed/events{/privacy}","received_events_url":"https://api.github.com/users/limed/received_events","type":"User","site_admin":false},"body":"Technically not really needed since we assume that it gets created anyway (RedHat should always have this) but it doesn't hurt it anyway","created_at":"2015-10-16T18:23:24Z","updated_at":"2015-10-16T18:23:24Z","html_url":"https://github.com/nubisproject/nubis-base/pull/223#discussion_r42273854","pull_request_url":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223","_links":{"self":{"href":"https://api.github.com/repos/nubisproject/nubis-base/pulls/comments/42273854"},"html":{"href":"https://github.com/nubisproject/nubis-base/pull/223#discussion_r42273854"},"pull_request":{"href":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223"}}},"pull_request":{"url":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223","id":47942954,"html_url":"https://github.com/nubisproject/nubis-base/pull/223","diff_url":"https://github.com/nubisproject/nubis-base/pull/223.diff","patch_url":"https://github.com/nubisproject/nubis-base/pull/223.patch","issue_url":"https://api.github.com/repos/nubisproject/nubis-base/issues/223","number":223,"state":"open","locked":false,"title":"Ensure td-agent runs on root on ubuntu","user":{"login":"gozer","id":903592,"avatar_url":"https://avatars.githubusercontent.com/u/903592?v=3","gravatar_id":"","url":"https://api.github.com/users/gozer","html_url":"https://github.com/gozer","followers_url":"https://api.github.com/users/gozer/followers","following_url":"https://api.github.com/users/gozer/following{/other_user}","gists_url":"https://api.github.com/users/gozer/gists{/gist_id}","starred_url":"https://api.github.com/users/gozer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gozer/subscriptions","organizations_url":"https://api.github.com/users/gozer/orgs","repos_url":"https://api.github.com/users/gozer/repos","events_url":"https://api.github.com/users/gozer/events{/privacy}","received_events_url":"https://api.github.com/users/gozer/received_events","type":"User","site_admin":false},"body":"Fixes #221","created_at":"2015-10-16T18:19:35Z","updated_at":"2015-10-16T18:23:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5e41999eb1a97c052599ca244fb60ade10952a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223/commits","review_comments_url":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223/comments","review_comment_url":"https://api.github.com/repos/nubisproject/nubis-base/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nubisproject/nubis-base/issues/223/comments","statuses_url":"https://api.github.com/repos/nubisproject/nubis-base/statuses/b1be46374b34c7da474338981e88c0752a8ece13","head":{"label":"gozer:issue/221/fluentd-root-ubuntu","ref":"issue/221/fluentd-root-ubuntu","sha":"b1be46374b34c7da474338981e88c0752a8ece13","user":{"login":"gozer","id":903592,"avatar_url":"https://avatars.githubusercontent.com/u/903592?v=3","gravatar_id":"","url":"https://api.github.com/users/gozer","html_url":"https://github.com/gozer","followers_url":"https://api.github.com/users/gozer/followers","following_url":"https://api.github.com/users/gozer/following{/other_user}","gists_url":"https://api.github.com/users/gozer/gists{/gist_id}","starred_url":"https://api.github.com/users/gozer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gozer/subscriptions","organizations_url":"https://api.github.com/users/gozer/orgs","repos_url":"https://api.github.com/users/gozer/repos","events_url":"https://api.github.com/users/gozer/events{/privacy}","received_events_url":"https://api.github.com/users/gozer/received_events","type":"User","site_admin":false},"repo":{"id":29206872,"name":"nubis-base","full_name":"gozer/nubis-base","owner":{"login":"gozer","id":903592,"avatar_url":"https://avatars.githubusercontent.com/u/903592?v=3","gravatar_id":"","url":"https://api.github.com/users/gozer","html_url":"https://github.com/gozer","followers_url":"https://api.github.com/users/gozer/followers","following_url":"https://api.github.com/users/gozer/following{/other_user}","gists_url":"https://api.github.com/users/gozer/gists{/gist_id}","starred_url":"https://api.github.com/users/gozer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gozer/subscriptions","organizations_url":"https://api.github.com/users/gozer/orgs","repos_url":"https://api.github.com/users/gozer/repos","events_url":"https://api.github.com/users/gozer/events{/privacy}","received_events_url":"https://api.github.com/users/gozer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gozer/nubis-base","description":"","fork":true,"url":"https://api.github.com/repos/gozer/nubis-base","forks_url":"https://api.github.com/repos/gozer/nubis-base/forks","keys_url":"https://api.github.com/repos/gozer/nubis-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gozer/nubis-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gozer/nubis-base/teams","hooks_url":"https://api.github.com/repos/gozer/nubis-base/hooks","issue_events_url":"https://api.github.com/repos/gozer/nubis-base/issues/events{/number}","events_url":"https://api.github.com/repos/gozer/nubis-base/events","assignees_url":"https://api.github.com/repos/gozer/nubis-base/assignees{/user}","branches_url":"https://api.github.com/repos/gozer/nubis-base/branches{/branch}","tags_url":"https://api.github.com/repos/gozer/nubis-base/tags","blobs_url":"https://api.github.com/repos/gozer/nubis-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gozer/nubis-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gozer/nubis-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/gozer/nubis-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gozer/nubis-base/statuses/{sha}","languages_url":"https://api.github.com/repos/gozer/nubis-base/languages","stargazers_url":"https://api.github.com/repos/gozer/nubis-base/stargazers","contributors_url":"https://api.github.com/repos/gozer/nubis-base/contributors","subscribers_url":"https://api.github.com/repos/gozer/nubis-base/subscribers","subscription_url":"https://api.github.com/repos/gozer/nubis-base/subscription","commits_url":"https://api.github.com/repos/gozer/nubis-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/gozer/nubis-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/gozer/nubis-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/gozer/nubis-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/gozer/nubis-base/contents/{+path}","compare_url":"https://api.github.com/repos/gozer/nubis-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gozer/nubis-base/merges","archive_url":"https://api.github.com/repos/gozer/nubis-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gozer/nubis-base/downloads","issues_url":"https://api.github.com/repos/gozer/nubis-base/issues{/number}","pulls_url":"https://api.github.com/repos/gozer/nubis-base/pulls{/number}","milestones_url":"https://api.github.com/repos/gozer/nubis-base/milestones{/number}","notifications_url":"https://api.github.com/repos/gozer/nubis-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gozer/nubis-base/labels{/name}","releases_url":"https://api.github.com/repos/gozer/nubis-base/releases{/id}","created_at":"2015-01-13T19:27:10Z","updated_at":"2015-06-18T03:03:22Z","pushed_at":"2015-10-16T18:19:26Z","git_url":"git://github.com/gozer/nubis-base.git","ssh_url":"git@github.com:gozer/nubis-base.git","clone_url":"https://github.com/gozer/nubis-base.git","svn_url":"https://github.com/gozer/nubis-base","homepage":null,"size":894,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"nubisproject:master","ref":"master","sha":"390658b9929ff7e99eaf38e8c2db1cfd524759a9","user":{"login":"nubisproject","id":11081104,"avatar_url":"https://avatars.githubusercontent.com/u/11081104?v=3","gravatar_id":"","url":"https://api.github.com/users/nubisproject","html_url":"https://github.com/nubisproject","followers_url":"https://api.github.com/users/nubisproject/followers","following_url":"https://api.github.com/users/nubisproject/following{/other_user}","gists_url":"https://api.github.com/users/nubisproject/gists{/gist_id}","starred_url":"https://api.github.com/users/nubisproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nubisproject/subscriptions","organizations_url":"https://api.github.com/users/nubisproject/orgs","repos_url":"https://api.github.com/users/nubisproject/repos","events_url":"https://api.github.com/users/nubisproject/events{/privacy}","received_events_url":"https://api.github.com/users/nubisproject/received_events","type":"Organization","site_admin":false},"repo":{"id":29152941,"name":"nubis-base","full_name":"nubisproject/nubis-base","owner":{"login":"nubisproject","id":11081104,"avatar_url":"https://avatars.githubusercontent.com/u/11081104?v=3","gravatar_id":"","url":"https://api.github.com/users/nubisproject","html_url":"https://github.com/nubisproject","followers_url":"https://api.github.com/users/nubisproject/followers","following_url":"https://api.github.com/users/nubisproject/following{/other_user}","gists_url":"https://api.github.com/users/nubisproject/gists{/gist_id}","starred_url":"https://api.github.com/users/nubisproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nubisproject/subscriptions","organizations_url":"https://api.github.com/users/nubisproject/orgs","repos_url":"https://api.github.com/users/nubisproject/repos","events_url":"https://api.github.com/users/nubisproject/events{/privacy}","received_events_url":"https://api.github.com/users/nubisproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nubisproject/nubis-base","description":"Nubis - Base Image","fork":false,"url":"https://api.github.com/repos/nubisproject/nubis-base","forks_url":"https://api.github.com/repos/nubisproject/nubis-base/forks","keys_url":"https://api.github.com/repos/nubisproject/nubis-base/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nubisproject/nubis-base/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nubisproject/nubis-base/teams","hooks_url":"https://api.github.com/repos/nubisproject/nubis-base/hooks","issue_events_url":"https://api.github.com/repos/nubisproject/nubis-base/issues/events{/number}","events_url":"https://api.github.com/repos/nubisproject/nubis-base/events","assignees_url":"https://api.github.com/repos/nubisproject/nubis-base/assignees{/user}","branches_url":"https://api.github.com/repos/nubisproject/nubis-base/branches{/branch}","tags_url":"https://api.github.com/repos/nubisproject/nubis-base/tags","blobs_url":"https://api.github.com/repos/nubisproject/nubis-base/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nubisproject/nubis-base/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nubisproject/nubis-base/git/refs{/sha}","trees_url":"https://api.github.com/repos/nubisproject/nubis-base/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nubisproject/nubis-base/statuses/{sha}","languages_url":"https://api.github.com/repos/nubisproject/nubis-base/languages","stargazers_url":"https://api.github.com/repos/nubisproject/nubis-base/stargazers","contributors_url":"https://api.github.com/repos/nubisproject/nubis-base/contributors","subscribers_url":"https://api.github.com/repos/nubisproject/nubis-base/subscribers","subscription_url":"https://api.github.com/repos/nubisproject/nubis-base/subscription","commits_url":"https://api.github.com/repos/nubisproject/nubis-base/commits{/sha}","git_commits_url":"https://api.github.com/repos/nubisproject/nubis-base/git/commits{/sha}","comments_url":"https://api.github.com/repos/nubisproject/nubis-base/comments{/number}","issue_comment_url":"https://api.github.com/repos/nubisproject/nubis-base/issues/comments{/number}","contents_url":"https://api.github.com/repos/nubisproject/nubis-base/contents/{+path}","compare_url":"https://api.github.com/repos/nubisproject/nubis-base/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nubisproject/nubis-base/merges","archive_url":"https://api.github.com/repos/nubisproject/nubis-base/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nubisproject/nubis-base/downloads","issues_url":"https://api.github.com/repos/nubisproject/nubis-base/issues{/number}","pulls_url":"https://api.github.com/repos/nubisproject/nubis-base/pulls{/number}","milestones_url":"https://api.github.com/repos/nubisproject/nubis-base/milestones{/number}","notifications_url":"https://api.github.com/repos/nubisproject/nubis-base/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nubisproject/nubis-base/labels{/name}","releases_url":"https://api.github.com/repos/nubisproject/nubis-base/releases{/id}","created_at":"2015-01-12T19:33:17Z","updated_at":"2015-06-18T03:03:42Z","pushed_at":"2015-10-16T18:19:36Z","git_url":"git://github.com/nubisproject/nubis-base.git","ssh_url":"git@github.com:nubisproject/nubis-base.git","clone_url":"https://github.com/nubisproject/nubis-base.git","svn_url":"https://github.com/nubisproject/nubis-base","homepage":"","size":905,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":26,"forks":5,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223"},"html":{"href":"https://github.com/nubisproject/nubis-base/pull/223"},"issue":{"href":"https://api.github.com/repos/nubisproject/nubis-base/issues/223"},"comments":{"href":"https://api.github.com/repos/nubisproject/nubis-base/issues/223/comments"},"review_comments":{"href":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223/comments"},"review_comment":{"href":"https://api.github.com/repos/nubisproject/nubis-base/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nubisproject/nubis-base/pulls/223/commits"},"statuses":{"href":"https://api.github.com/repos/nubisproject/nubis-base/statuses/b1be46374b34c7da474338981e88c0752a8ece13"}}}}