{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/1","id":47571173,"html_url":"https://github.com/intercom/puppet-mongodb/pull/1","diff_url":"https://github.com/intercom/puppet-mongodb/pull/1.diff","patch_url":"https://github.com/intercom/puppet-mongodb/pull/1.patch","issue_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues/1","number":1,"state":"closed","locked":false,"title":"Enable oplog on dev mongodb instances","user":{"login":"mstewart","id":232129,"avatar_url":"https://avatars.githubusercontent.com/u/232129?v=3","gravatar_id":"","url":"https://api.github.com/users/mstewart","html_url":"https://github.com/mstewart","followers_url":"https://api.github.com/users/mstewart/followers","following_url":"https://api.github.com/users/mstewart/following{/other_user}","gists_url":"https://api.github.com/users/mstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/mstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstewart/subscriptions","organizations_url":"https://api.github.com/users/mstewart/orgs","repos_url":"https://api.github.com/users/mstewart/repos","events_url":"https://api.github.com/users/mstewart/events{/privacy}","received_events_url":"https://api.github.com/users/mstewart/received_events","type":"User","site_admin":false},"body":"To enable the oplog to match production, we need to configure a single-node\r\nreplicaset.\r\n\r\n- Add lines to mongodb.conf telling the instance it's part of a replicaset\r\n- Add an `init_oplog` script to initialise/force-update replication\r\n  config on the local instance\r\n- Run `init_oplog` as part of the standard mongo setup","created_at":"2015-10-13T18:36:49Z","updated_at":"2015-10-14T08:33:22Z","closed_at":"2015-10-14T08:33:21Z","merged_at":"2015-10-14T08:33:21Z","merge_commit_sha":"e5193bb3c73cfa291bd0e2b077b47f9f73572ab3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/1/commits","review_comments_url":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/1/comments","review_comment_url":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues/1/comments","statuses_url":"https://api.github.com/repos/intercom/puppet-mongodb/statuses/9080b280926285077d53967a33e48e98a2be4830","head":{"label":"intercom:mike/enable-mongo-oplog","ref":"mike/enable-mongo-oplog","sha":"9080b280926285077d53967a33e48e98a2be4830","user":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"repo":{"id":44119526,"name":"puppet-mongodb","full_name":"intercom/puppet-mongodb","owner":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intercom/puppet-mongodb","description":null,"fork":true,"url":"https://api.github.com/repos/intercom/puppet-mongodb","forks_url":"https://api.github.com/repos/intercom/puppet-mongodb/forks","keys_url":"https://api.github.com/repos/intercom/puppet-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intercom/puppet-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intercom/puppet-mongodb/teams","hooks_url":"https://api.github.com/repos/intercom/puppet-mongodb/hooks","issue_events_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/intercom/puppet-mongodb/events","assignees_url":"https://api.github.com/repos/intercom/puppet-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/intercom/puppet-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/intercom/puppet-mongodb/tags","blobs_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intercom/puppet-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/intercom/puppet-mongodb/languages","stargazers_url":"https://api.github.com/repos/intercom/puppet-mongodb/stargazers","contributors_url":"https://api.github.com/repos/intercom/puppet-mongodb/contributors","subscribers_url":"https://api.github.com/repos/intercom/puppet-mongodb/subscribers","subscription_url":"https://api.github.com/repos/intercom/puppet-mongodb/subscription","commits_url":"https://api.github.com/repos/intercom/puppet-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/intercom/puppet-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/intercom/puppet-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/intercom/puppet-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intercom/puppet-mongodb/merges","archive_url":"https://api.github.com/repos/intercom/puppet-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intercom/puppet-mongodb/downloads","issues_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/intercom/puppet-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/intercom/puppet-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/intercom/puppet-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intercom/puppet-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/intercom/puppet-mongodb/releases{/id}","created_at":"2015-10-12T16:23:24Z","updated_at":"2015-10-12T16:23:24Z","pushed_at":"2015-10-14T08:33:22Z","git_url":"git://github.com/intercom/puppet-mongodb.git","ssh_url":"git@github.com:intercom/puppet-mongodb.git","clone_url":"https://github.com/intercom/puppet-mongodb.git","svn_url":"https://github.com/intercom/puppet-mongodb","homepage":null,"size":114,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"intercom:master","ref":"master","sha":"702063fdfb274e402d3e20130f68caba47aac745","user":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"repo":{"id":44119526,"name":"puppet-mongodb","full_name":"intercom/puppet-mongodb","owner":{"login":"intercom","id":6585,"avatar_url":"https://avatars.githubusercontent.com/u/6585?v=3","gravatar_id":"","url":"https://api.github.com/users/intercom","html_url":"https://github.com/intercom","followers_url":"https://api.github.com/users/intercom/followers","following_url":"https://api.github.com/users/intercom/following{/other_user}","gists_url":"https://api.github.com/users/intercom/gists{/gist_id}","starred_url":"https://api.github.com/users/intercom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intercom/subscriptions","organizations_url":"https://api.github.com/users/intercom/orgs","repos_url":"https://api.github.com/users/intercom/repos","events_url":"https://api.github.com/users/intercom/events{/privacy}","received_events_url":"https://api.github.com/users/intercom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intercom/puppet-mongodb","description":null,"fork":true,"url":"https://api.github.com/repos/intercom/puppet-mongodb","forks_url":"https://api.github.com/repos/intercom/puppet-mongodb/forks","keys_url":"https://api.github.com/repos/intercom/puppet-mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intercom/puppet-mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intercom/puppet-mongodb/teams","hooks_url":"https://api.github.com/repos/intercom/puppet-mongodb/hooks","issue_events_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/intercom/puppet-mongodb/events","assignees_url":"https://api.github.com/repos/intercom/puppet-mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/intercom/puppet-mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/intercom/puppet-mongodb/tags","blobs_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intercom/puppet-mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/intercom/puppet-mongodb/languages","stargazers_url":"https://api.github.com/repos/intercom/puppet-mongodb/stargazers","contributors_url":"https://api.github.com/repos/intercom/puppet-mongodb/contributors","subscribers_url":"https://api.github.com/repos/intercom/puppet-mongodb/subscribers","subscription_url":"https://api.github.com/repos/intercom/puppet-mongodb/subscription","commits_url":"https://api.github.com/repos/intercom/puppet-mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/intercom/puppet-mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/intercom/puppet-mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/intercom/puppet-mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/intercom/puppet-mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intercom/puppet-mongodb/merges","archive_url":"https://api.github.com/repos/intercom/puppet-mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intercom/puppet-mongodb/downloads","issues_url":"https://api.github.com/repos/intercom/puppet-mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/intercom/puppet-mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/intercom/puppet-mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/intercom/puppet-mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intercom/puppet-mongodb/labels{/name}","releases_url":"https://api.github.com/repos/intercom/puppet-mongodb/releases{/id}","created_at":"2015-10-12T16:23:24Z","updated_at":"2015-10-12T16:23:24Z","pushed_at":"2015-10-14T08:33:22Z","git_url":"git://github.com/intercom/puppet-mongodb.git","ssh_url":"git@github.com:intercom/puppet-mongodb.git","clone_url":"https://github.com/intercom/puppet-mongodb.git","svn_url":"https://github.com/intercom/puppet-mongodb","homepage":null,"size":114,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/1"},"html":{"href":"https://github.com/intercom/puppet-mongodb/pull/1"},"issue":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/issues/1"},"comments":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/intercom/puppet-mongodb/statuses/9080b280926285077d53967a33e48e98a2be4830"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mstewart","id":232129,"avatar_url":"https://avatars.githubusercontent.com/u/232129?v=3","gravatar_id":"","url":"https://api.github.com/users/mstewart","html_url":"https://github.com/mstewart","followers_url":"https://api.github.com/users/mstewart/followers","following_url":"https://api.github.com/users/mstewart/following{/other_user}","gists_url":"https://api.github.com/users/mstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/mstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstewart/subscriptions","organizations_url":"https://api.github.com/users/mstewart/orgs","repos_url":"https://api.github.com/users/mstewart/repos","events_url":"https://api.github.com/users/mstewart/events{/privacy}","received_events_url":"https://api.github.com/users/mstewart/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":1,"additions":50,"deletions":0,"changed_files":4}}