{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/16","id":35332333,"html_url":"https://github.com/Stouts/Stouts.mongodb/pull/16","diff_url":"https://github.com/Stouts/Stouts.mongodb/pull/16.diff","patch_url":"https://github.com/Stouts/Stouts.mongodb/pull/16.patch","issue_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues/16","number":16,"state":"closed","locked":false,"title":"add restart before exectuing mongo shell commands","user":{"login":"smowden","id":1259054,"avatar_url":"https://avatars.githubusercontent.com/u/1259054?v=3","gravatar_id":"","url":"https://api.github.com/users/smowden","html_url":"https://github.com/smowden","followers_url":"https://api.github.com/users/smowden/followers","following_url":"https://api.github.com/users/smowden/following{/other_user}","gists_url":"https://api.github.com/users/smowden/gists{/gist_id}","starred_url":"https://api.github.com/users/smowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowden/subscriptions","organizations_url":"https://api.github.com/users/smowden/orgs","repos_url":"https://api.github.com/users/smowden/repos","events_url":"https://api.github.com/users/smowden/events{/privacy}","received_events_url":"https://api.github.com/users/smowden/received_events","type":"User","site_admin":false},"body":"when you want to bring up a replica set using rs.initialize() mongo will complain that it is not running with the --replSet even though you can specify that in the config. To fix that we need to restart mongo to apply the config before running the shell commands.","created_at":"2015-05-13T14:28:11Z","updated_at":"2015-06-12T10:09:41Z","closed_at":"2015-06-12T10:09:41Z","merged_at":null,"merge_commit_sha":"3c99b613a2fd0d54a3700b455624cb5893a32fd8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/16/commits","review_comments_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/16/comments","review_comment_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues/16/comments","statuses_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/statuses/821c5ea0902e085897347da18310de257329f847","head":{"label":"smowden:develop","ref":"develop","sha":"821c5ea0902e085897347da18310de257329f847","user":{"login":"smowden","id":1259054,"avatar_url":"https://avatars.githubusercontent.com/u/1259054?v=3","gravatar_id":"","url":"https://api.github.com/users/smowden","html_url":"https://github.com/smowden","followers_url":"https://api.github.com/users/smowden/followers","following_url":"https://api.github.com/users/smowden/following{/other_user}","gists_url":"https://api.github.com/users/smowden/gists{/gist_id}","starred_url":"https://api.github.com/users/smowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowden/subscriptions","organizations_url":"https://api.github.com/users/smowden/orgs","repos_url":"https://api.github.com/users/smowden/repos","events_url":"https://api.github.com/users/smowden/events{/privacy}","received_events_url":"https://api.github.com/users/smowden/received_events","type":"User","site_admin":false},"repo":{"id":35552872,"name":"Stouts.mongodb","full_name":"smowden/Stouts.mongodb","owner":{"login":"smowden","id":1259054,"avatar_url":"https://avatars.githubusercontent.com/u/1259054?v=3","gravatar_id":"","url":"https://api.github.com/users/smowden","html_url":"https://github.com/smowden","followers_url":"https://api.github.com/users/smowden/followers","following_url":"https://api.github.com/users/smowden/following{/other_user}","gists_url":"https://api.github.com/users/smowden/gists{/gist_id}","starred_url":"https://api.github.com/users/smowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smowden/subscriptions","organizations_url":"https://api.github.com/users/smowden/orgs","repos_url":"https://api.github.com/users/smowden/repos","events_url":"https://api.github.com/users/smowden/events{/privacy}","received_events_url":"https://api.github.com/users/smowden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smowden/Stouts.mongodb","description":"Ansible role which manage MongoDB","fork":true,"url":"https://api.github.com/repos/smowden/Stouts.mongodb","forks_url":"https://api.github.com/repos/smowden/Stouts.mongodb/forks","keys_url":"https://api.github.com/repos/smowden/Stouts.mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smowden/Stouts.mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smowden/Stouts.mongodb/teams","hooks_url":"https://api.github.com/repos/smowden/Stouts.mongodb/hooks","issue_events_url":"https://api.github.com/repos/smowden/Stouts.mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/smowden/Stouts.mongodb/events","assignees_url":"https://api.github.com/repos/smowden/Stouts.mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/smowden/Stouts.mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/smowden/Stouts.mongodb/tags","blobs_url":"https://api.github.com/repos/smowden/Stouts.mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smowden/Stouts.mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smowden/Stouts.mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/smowden/Stouts.mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smowden/Stouts.mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/smowden/Stouts.mongodb/languages","stargazers_url":"https://api.github.com/repos/smowden/Stouts.mongodb/stargazers","contributors_url":"https://api.github.com/repos/smowden/Stouts.mongodb/contributors","subscribers_url":"https://api.github.com/repos/smowden/Stouts.mongodb/subscribers","subscription_url":"https://api.github.com/repos/smowden/Stouts.mongodb/subscription","commits_url":"https://api.github.com/repos/smowden/Stouts.mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/smowden/Stouts.mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/smowden/Stouts.mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/smowden/Stouts.mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/smowden/Stouts.mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/smowden/Stouts.mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smowden/Stouts.mongodb/merges","archive_url":"https://api.github.com/repos/smowden/Stouts.mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smowden/Stouts.mongodb/downloads","issues_url":"https://api.github.com/repos/smowden/Stouts.mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/smowden/Stouts.mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/smowden/Stouts.mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/smowden/Stouts.mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smowden/Stouts.mongodb/labels{/name}","releases_url":"https://api.github.com/repos/smowden/Stouts.mongodb/releases{/id}","created_at":"2015-05-13T14:10:35Z","updated_at":"2015-05-13T14:10:35Z","pushed_at":"2015-05-13T14:26:00Z","git_url":"git://github.com/smowden/Stouts.mongodb.git","ssh_url":"git@github.com:smowden/Stouts.mongodb.git","clone_url":"https://github.com/smowden/Stouts.mongodb.git","svn_url":"https://github.com/smowden/Stouts.mongodb","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":"Makefile","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":"develop"}},"base":{"label":"Stouts:develop","ref":"develop","sha":"09fec1c0edf31a510c663678b73782185ee7f2db","user":{"login":"Stouts","id":7385765,"avatar_url":"https://avatars.githubusercontent.com/u/7385765?v=3","gravatar_id":"","url":"https://api.github.com/users/Stouts","html_url":"https://github.com/Stouts","followers_url":"https://api.github.com/users/Stouts/followers","following_url":"https://api.github.com/users/Stouts/following{/other_user}","gists_url":"https://api.github.com/users/Stouts/gists{/gist_id}","starred_url":"https://api.github.com/users/Stouts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stouts/subscriptions","organizations_url":"https://api.github.com/users/Stouts/orgs","repos_url":"https://api.github.com/users/Stouts/repos","events_url":"https://api.github.com/users/Stouts/events{/privacy}","received_events_url":"https://api.github.com/users/Stouts/received_events","type":"Organization","site_admin":false},"repo":{"id":20486449,"name":"Stouts.mongodb","full_name":"Stouts/Stouts.mongodb","owner":{"login":"Stouts","id":7385765,"avatar_url":"https://avatars.githubusercontent.com/u/7385765?v=3","gravatar_id":"","url":"https://api.github.com/users/Stouts","html_url":"https://github.com/Stouts","followers_url":"https://api.github.com/users/Stouts/followers","following_url":"https://api.github.com/users/Stouts/following{/other_user}","gists_url":"https://api.github.com/users/Stouts/gists{/gist_id}","starred_url":"https://api.github.com/users/Stouts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stouts/subscriptions","organizations_url":"https://api.github.com/users/Stouts/orgs","repos_url":"https://api.github.com/users/Stouts/repos","events_url":"https://api.github.com/users/Stouts/events{/privacy}","received_events_url":"https://api.github.com/users/Stouts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stouts/Stouts.mongodb","description":"Ansible role which manage MongoDB","fork":false,"url":"https://api.github.com/repos/Stouts/Stouts.mongodb","forks_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/forks","keys_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/teams","hooks_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/hooks","issue_events_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues/events{/number}","events_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/events","assignees_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/assignees{/user}","branches_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/branches{/branch}","tags_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/tags","blobs_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/statuses/{sha}","languages_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/languages","stargazers_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/stargazers","contributors_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/contributors","subscribers_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/subscribers","subscription_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/subscription","commits_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/contents/{+path}","compare_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/merges","archive_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/downloads","issues_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues{/number}","pulls_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls{/number}","milestones_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/milestones{/number}","notifications_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/labels{/name}","releases_url":"https://api.github.com/repos/Stouts/Stouts.mongodb/releases{/id}","created_at":"2014-06-04T14:15:52Z","updated_at":"2015-05-15T12:46:31Z","pushed_at":"2015-05-13T14:28:12Z","git_url":"git://github.com/Stouts/Stouts.mongodb.git","ssh_url":"git@github.com:Stouts/Stouts.mongodb.git","clone_url":"https://github.com/Stouts/Stouts.mongodb.git","svn_url":"https://github.com/Stouts/Stouts.mongodb","homepage":null,"size":602,"stargazers_count":14,"watchers_count":14,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":0,"forks":14,"open_issues":0,"watchers":14,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/16"},"html":{"href":"https://github.com/Stouts/Stouts.mongodb/pull/16"},"issue":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues/16"},"comments":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/Stouts/Stouts.mongodb/statuses/821c5ea0902e085897347da18310de257329f847"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":0,"changed_files":1}}