{"action":"closed","number":4636,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4636","id":77285602,"html_url":"https://github.com/alphagov/govuk-puppet/pull/4636","diff_url":"https://github.com/alphagov/govuk-puppet/pull/4636.diff","patch_url":"https://github.com/alphagov/govuk-puppet/pull/4636.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4636","number":4636,"state":"closed","locked":false,"title":"Fix mongodb s3 backup Cron","user":{"login":"djsd123","id":8365097,"avatar_url":"https://avatars.githubusercontent.com/u/8365097?v=3","gravatar_id":"","url":"https://api.github.com/users/djsd123","html_url":"https://github.com/djsd123","followers_url":"https://api.github.com/users/djsd123/followers","following_url":"https://api.github.com/users/djsd123/following{/other_user}","gists_url":"https://api.github.com/users/djsd123/gists{/gist_id}","starred_url":"https://api.github.com/users/djsd123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djsd123/subscriptions","organizations_url":"https://api.github.com/users/djsd123/orgs","repos_url":"https://api.github.com/users/djsd123/repos","events_url":"https://api.github.com/users/djsd123/events{/privacy}","received_events_url":"https://api.github.com/users/djsd123/received_events","type":"User","site_admin":false},"body":"Two things:\r\n\r\nPuppet fails to create cron job due to line continuation in command.\r\nDeleting backup job from root's crontab\r\n\r\n\r\n- Created a cron resource and marked it as absent to remove previously managed jobs.\r\n- Removed backslash for two of the cron jobs as these were causing things to fail.\r\n- Added conditional for $STATUS variable to the backup script.\r\n\r\nRemoving absent resource declarations and FIXME message in backup.pp.","created_at":"2016-07-13T13:10:21Z","updated_at":"2016-07-13T13:45:50Z","closed_at":"2016-07-13T13:45:50Z","merged_at":"2016-07-13T13:45:50Z","merge_commit_sha":"0a0d4a259a425486d2511972b5538486ec77e75a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4636/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4636/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4636/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/5b8267a94935cb8c5a83a8cb0ad961e357ca67a7","head":{"label":"alphagov:fix_mongodb_s3_cron","ref":"fix_mongodb_s3_cron","sha":"5b8267a94935cb8c5a83a8cb0ad961e357ca67a7","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":47834743,"name":"govuk-puppet","full_name":"alphagov/govuk-puppet","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-puppet","description":"Puppet manifests used to provision the main GOV.UK web stack","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-puppet","forks_url":"https://api.github.com/repos/alphagov/govuk-puppet/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-puppet/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-puppet/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-puppet/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-puppet/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-puppet/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-puppet/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-puppet/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-puppet/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-puppet/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-puppet/deployments","created_at":"2015-12-11T15:36:24Z","updated_at":"2016-07-01T17:37:43Z","pushed_at":"2016-07-13T13:45:51Z","git_url":"git://github.com/alphagov/govuk-puppet.git","ssh_url":"git@github.com:alphagov/govuk-puppet.git","clone_url":"https://github.com/alphagov/govuk-puppet.git","svn_url":"https://github.com/alphagov/govuk-puppet","homepage":"https://www.gov.uk/","size":22892,"stargazers_count":31,"watchers_count":31,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":9,"forks":17,"open_issues":9,"watchers":31,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"802b3e8acb912aedc993142b87b0df1e0dc7f938","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":47834743,"name":"govuk-puppet","full_name":"alphagov/govuk-puppet","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-puppet","description":"Puppet manifests used to provision the main GOV.UK web stack","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-puppet","forks_url":"https://api.github.com/repos/alphagov/govuk-puppet/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-puppet/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-puppet/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-puppet/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-puppet/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-puppet/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-puppet/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-puppet/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-puppet/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-puppet/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-puppet/deployments","created_at":"2015-12-11T15:36:24Z","updated_at":"2016-07-01T17:37:43Z","pushed_at":"2016-07-13T13:45:51Z","git_url":"git://github.com/alphagov/govuk-puppet.git","ssh_url":"git@github.com:alphagov/govuk-puppet.git","clone_url":"https://github.com/alphagov/govuk-puppet.git","svn_url":"https://github.com/alphagov/govuk-puppet","homepage":"https://www.gov.uk/","size":22892,"stargazers_count":31,"watchers_count":31,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":9,"forks":17,"open_issues":9,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4636"},"html":{"href":"https://github.com/alphagov/govuk-puppet/pull/4636"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4636"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4636/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4636/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4636/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/5b8267a94935cb8c5a83a8cb0ad961e357ca67a7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"djsd123","id":8365097,"avatar_url":"https://avatars.githubusercontent.com/u/8365097?v=3","gravatar_id":"","url":"https://api.github.com/users/djsd123","html_url":"https://github.com/djsd123","followers_url":"https://api.github.com/users/djsd123/followers","following_url":"https://api.github.com/users/djsd123/following{/other_user}","gists_url":"https://api.github.com/users/djsd123/gists{/gist_id}","starred_url":"https://api.github.com/users/djsd123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djsd123/subscriptions","organizations_url":"https://api.github.com/users/djsd123/orgs","repos_url":"https://api.github.com/users/djsd123/repos","events_url":"https://api.github.com/users/djsd123/events{/privacy}","received_events_url":"https://api.github.com/users/djsd123/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":1,"additions":20,"deletions":14,"changed_files":3}}
{"actor":{"display_login":"djsd123"}}