{"action":"closed","number":54,"pull_request":{"url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/54","id":175466728,"html_url":"https://github.com/MissionCriticalCloud/systemvm-packer/pull/54","diff_url":"https://github.com/MissionCriticalCloud/systemvm-packer/pull/54.diff","patch_url":"https://github.com/MissionCriticalCloud/systemvm-packer/pull/54.patch","issue_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/54","number":54,"state":"closed","locked":false,"title":"Logrotate daily and keep 10 days","user":{"login":"remibergsma","id":1630096,"avatar_url":"https://avatars1.githubusercontent.com/u/1630096?v=4","gravatar_id":"","url":"https://api.github.com/users/remibergsma","html_url":"https://github.com/remibergsma","followers_url":"https://api.github.com/users/remibergsma/followers","following_url":"https://api.github.com/users/remibergsma/following{/other_user}","gists_url":"https://api.github.com/users/remibergsma/gists{/gist_id}","starred_url":"https://api.github.com/users/remibergsma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remibergsma/subscriptions","organizations_url":"https://api.github.com/users/remibergsma/orgs","repos_url":"https://api.github.com/users/remibergsma/repos","events_url":"https://api.github.com/users/remibergsma/events{/privacy}","received_events_url":"https://api.github.com/users/remibergsma/received_events","type":"User","site_admin":false},"body":"```\r\n[root@mccdpod01-hv16 systemvm-packer]# virt-cat -a packer_output/cosmic-systemvm /etc/logrotate.conf\r\n# see \"man logrotate\" for details\r\n# rotate log files daily\r\ndaily\r\n\r\n# keep 4 weeks worth of backlogs\r\nrotate 10\r\n\r\n# create new (empty) log files after rotating old ones\r\ncreate\r\ncompress\r\n\r\n# use date as a suffix of the rotated file\r\ndateext\r\n\r\n# uncomment this if you want your log files compressed\r\n#compress\r\n\r\n# RPM packages drop log rotation information into this directory\r\ninclude /etc/logrotate.d\r\n\r\n# no packages own wtmp and btmp -- we'll rotate them here\r\n/var/log/wtmp {\r\n    monthly\r\n    create 0664 root utmp\r\n        minsize 1M\r\n    rotate 1\r\n}\r\n\r\n/var/log/btmp {\r\n    missingok\r\n    monthly\r\n    create 0600 root utmp\r\n    rotate 1\r\n}\r\n\r\n# system-specific logs may be also be configured here.\r\n```","created_at":"2018-03-16T08:23:32Z","updated_at":"2018-03-16T09:03:56Z","closed_at":"2018-03-16T09:03:56Z","merged_at":"2018-03-16T09:03:56Z","merge_commit_sha":"a151dbf8c7a54fe840dd70af25676d8dfe9c6a33","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/54/commits","review_comments_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/54/comments","review_comment_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/54/comments","statuses_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/statuses/73cfb98165f2f79ed25ab36ceeeee64390551e48","head":{"label":"MissionCriticalCloud:fix/daily-logrotate","ref":"fix/daily-logrotate","sha":"73cfb98165f2f79ed25ab36ceeeee64390551e48","user":{"login":"MissionCriticalCloud","id":16591787,"avatar_url":"https://avatars2.githubusercontent.com/u/16591787?v=4","gravatar_id":"","url":"https://api.github.com/users/MissionCriticalCloud","html_url":"https://github.com/MissionCriticalCloud","followers_url":"https://api.github.com/users/MissionCriticalCloud/followers","following_url":"https://api.github.com/users/MissionCriticalCloud/following{/other_user}","gists_url":"https://api.github.com/users/MissionCriticalCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MissionCriticalCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MissionCriticalCloud/subscriptions","organizations_url":"https://api.github.com/users/MissionCriticalCloud/orgs","repos_url":"https://api.github.com/users/MissionCriticalCloud/repos","events_url":"https://api.github.com/users/MissionCriticalCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MissionCriticalCloud/received_events","type":"Organization","site_admin":false},"repo":{"id":55311624,"name":"systemvm-packer","full_name":"MissionCriticalCloud/systemvm-packer","owner":{"login":"MissionCriticalCloud","id":16591787,"avatar_url":"https://avatars2.githubusercontent.com/u/16591787?v=4","gravatar_id":"","url":"https://api.github.com/users/MissionCriticalCloud","html_url":"https://github.com/MissionCriticalCloud","followers_url":"https://api.github.com/users/MissionCriticalCloud/followers","following_url":"https://api.github.com/users/MissionCriticalCloud/following{/other_user}","gists_url":"https://api.github.com/users/MissionCriticalCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MissionCriticalCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MissionCriticalCloud/subscriptions","organizations_url":"https://api.github.com/users/MissionCriticalCloud/orgs","repos_url":"https://api.github.com/users/MissionCriticalCloud/repos","events_url":"https://api.github.com/users/MissionCriticalCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MissionCriticalCloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MissionCriticalCloud/systemvm-packer","description":"Cosmic systemvm template Packer build","fork":false,"url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer","forks_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/forks","keys_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/teams","hooks_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/hooks","issue_events_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/events{/number}","events_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/events","assignees_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/assignees{/user}","branches_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/branches{/branch}","tags_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/tags","blobs_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/statuses/{sha}","languages_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/languages","stargazers_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/stargazers","contributors_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/contributors","subscribers_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/subscribers","subscription_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/subscription","commits_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/contents/{+path}","compare_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/merges","archive_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/downloads","issues_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues{/number}","pulls_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls{/number}","milestones_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/milestones{/number}","notifications_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/labels{/name}","releases_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/releases{/id}","deployments_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/deployments","created_at":"2016-04-02T19:08:10Z","updated_at":"2018-03-15T16:17:16Z","pushed_at":"2018-03-16T09:03:56Z","git_url":"git://github.com/MissionCriticalCloud/systemvm-packer.git","ssh_url":"git@github.com:MissionCriticalCloud/systemvm-packer.git","clone_url":"https://github.com/MissionCriticalCloud/systemvm-packer.git","svn_url":"https://github.com/MissionCriticalCloud/systemvm-packer","homepage":null,"size":1621,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4,"open_issues":0,"watchers":5,"default_branch":"master"}},"base":{"label":"MissionCriticalCloud:master","ref":"master","sha":"8f460e70cc6be22329f156e9553ff69f4be67d78","user":{"login":"MissionCriticalCloud","id":16591787,"avatar_url":"https://avatars2.githubusercontent.com/u/16591787?v=4","gravatar_id":"","url":"https://api.github.com/users/MissionCriticalCloud","html_url":"https://github.com/MissionCriticalCloud","followers_url":"https://api.github.com/users/MissionCriticalCloud/followers","following_url":"https://api.github.com/users/MissionCriticalCloud/following{/other_user}","gists_url":"https://api.github.com/users/MissionCriticalCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MissionCriticalCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MissionCriticalCloud/subscriptions","organizations_url":"https://api.github.com/users/MissionCriticalCloud/orgs","repos_url":"https://api.github.com/users/MissionCriticalCloud/repos","events_url":"https://api.github.com/users/MissionCriticalCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MissionCriticalCloud/received_events","type":"Organization","site_admin":false},"repo":{"id":55311624,"name":"systemvm-packer","full_name":"MissionCriticalCloud/systemvm-packer","owner":{"login":"MissionCriticalCloud","id":16591787,"avatar_url":"https://avatars2.githubusercontent.com/u/16591787?v=4","gravatar_id":"","url":"https://api.github.com/users/MissionCriticalCloud","html_url":"https://github.com/MissionCriticalCloud","followers_url":"https://api.github.com/users/MissionCriticalCloud/followers","following_url":"https://api.github.com/users/MissionCriticalCloud/following{/other_user}","gists_url":"https://api.github.com/users/MissionCriticalCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/MissionCriticalCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MissionCriticalCloud/subscriptions","organizations_url":"https://api.github.com/users/MissionCriticalCloud/orgs","repos_url":"https://api.github.com/users/MissionCriticalCloud/repos","events_url":"https://api.github.com/users/MissionCriticalCloud/events{/privacy}","received_events_url":"https://api.github.com/users/MissionCriticalCloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MissionCriticalCloud/systemvm-packer","description":"Cosmic systemvm template Packer build","fork":false,"url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer","forks_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/forks","keys_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/teams","hooks_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/hooks","issue_events_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/events{/number}","events_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/events","assignees_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/assignees{/user}","branches_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/branches{/branch}","tags_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/tags","blobs_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/refs{/sha}","trees_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/statuses/{sha}","languages_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/languages","stargazers_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/stargazers","contributors_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/contributors","subscribers_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/subscribers","subscription_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/subscription","commits_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/commits{/sha}","git_commits_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/git/commits{/sha}","comments_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/comments{/number}","issue_comment_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/comments{/number}","contents_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/contents/{+path}","compare_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/merges","archive_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/downloads","issues_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues{/number}","pulls_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls{/number}","milestones_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/milestones{/number}","notifications_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/labels{/name}","releases_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/releases{/id}","deployments_url":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/deployments","created_at":"2016-04-02T19:08:10Z","updated_at":"2018-03-15T16:17:16Z","pushed_at":"2018-03-16T09:03:56Z","git_url":"git://github.com/MissionCriticalCloud/systemvm-packer.git","ssh_url":"git@github.com:MissionCriticalCloud/systemvm-packer.git","clone_url":"https://github.com/MissionCriticalCloud/systemvm-packer.git","svn_url":"https://github.com/MissionCriticalCloud/systemvm-packer","homepage":null,"size":1621,"stargazers_count":5,"watchers_count":5,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":4,"open_issues":0,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/54"},"html":{"href":"https://github.com/MissionCriticalCloud/systemvm-packer/pull/54"},"issue":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/54"},"comments":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/MissionCriticalCloud/systemvm-packer/statuses/73cfb98165f2f79ed25ab36ceeeee64390551e48"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"sanderv32","id":1177804,"avatar_url":"https://avatars2.githubusercontent.com/u/1177804?v=4","gravatar_id":"","url":"https://api.github.com/users/sanderv32","html_url":"https://github.com/sanderv32","followers_url":"https://api.github.com/users/sanderv32/followers","following_url":"https://api.github.com/users/sanderv32/following{/other_user}","gists_url":"https://api.github.com/users/sanderv32/gists{/gist_id}","starred_url":"https://api.github.com/users/sanderv32/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanderv32/subscriptions","organizations_url":"https://api.github.com/users/sanderv32/orgs","repos_url":"https://api.github.com/users/sanderv32/repos","events_url":"https://api.github.com/users/sanderv32/events{/privacy}","received_events_url":"https://api.github.com/users/sanderv32/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"sanderv32"}}