{"action":"created","issue":{"url":"https://api.github.com/repos/edelight/chef-mongodb/issues/179","labels_url":"https://api.github.com/repos/edelight/chef-mongodb/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/edelight/chef-mongodb/issues/179/comments","events_url":"https://api.github.com/repos/edelight/chef-mongodb/issues/179/events","html_url":"https://github.com/edelight/chef-mongodb/issues/179","id":23360417,"number":179,"title":"[breaking change] Stop creating a mongodb_instance in mongodb::default","user":{"login":"josephholsten","id":7495,"avatar_url":"https://avatars.githubusercontent.com/u/7495?v=3","gravatar_id":"","url":"https://api.github.com/users/josephholsten","html_url":"https://github.com/josephholsten","followers_url":"https://api.github.com/users/josephholsten/followers","following_url":"https://api.github.com/users/josephholsten/following{/other_user}","gists_url":"https://api.github.com/users/josephholsten/gists{/gist_id}","starred_url":"https://api.github.com/users/josephholsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephholsten/subscriptions","organizations_url":"https://api.github.com/users/josephholsten/orgs","repos_url":"https://api.github.com/users/josephholsten/repos","events_url":"https://api.github.com/users/josephholsten/events{/privacy}","received_events_url":"https://api.github.com/users/josephholsten/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2013-11-27T00:56:06Z","updated_at":"2015-07-17T18:22:54Z","closed_at":"2015-07-17T18:22:54Z","body":"the logic of https://github.com/edelight/chef-mongodb/blob/master/recipes/default.rb#L42 is absolutely maddening in it's odd dependence on knowing exactly what recipes are in the run list. In particular, it doesn't play nice with wrapper cookbooks which may set up replicasets via `include_recipe`, not through node or role run lists. Don't get me started on mongos's search.\r\n\r\nI propose:\r\n- renaming helper recipes to begin with an underscore, including: `install` -> `_install_package`, `10gen_repo` -> `_mongodb_repo`,  \r\n- keep 'standard' usage recipes top level:  `configserver`, `mongos`, `replicaset`, `shard`, and move the default instance into its own `mongod` recipe\r\n- also move `mongo_gem` -> `ruby` to match opscode's mysql, xml, &c cookbooks\r\n- have `default` not do anything!"},"comment":{"url":"https://api.github.com/repos/edelight/chef-mongodb/issues/comments/122364953","html_url":"https://github.com/edelight/chef-mongodb/issues/179#issuecomment-122364953","issue_url":"https://api.github.com/repos/edelight/chef-mongodb/issues/179","id":122364953,"user":{"login":"josephholsten","id":7495,"avatar_url":"https://avatars.githubusercontent.com/u/7495?v=3","gravatar_id":"","url":"https://api.github.com/users/josephholsten","html_url":"https://github.com/josephholsten","followers_url":"https://api.github.com/users/josephholsten/followers","following_url":"https://api.github.com/users/josephholsten/following{/other_user}","gists_url":"https://api.github.com/users/josephholsten/gists{/gist_id}","starred_url":"https://api.github.com/users/josephholsten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephholsten/subscriptions","organizations_url":"https://api.github.com/users/josephholsten/orgs","repos_url":"https://api.github.com/users/josephholsten/repos","events_url":"https://api.github.com/users/josephholsten/events{/privacy}","received_events_url":"https://api.github.com/users/josephholsten/received_events","type":"User","site_admin":false},"created_at":"2015-07-17T18:22:54Z","updated_at":"2015-07-17T18:22:54Z","body":"Moved to https://github.com/chef-brigade/mongodb-cookbook/issues/75"}}