edelight/chef-mongodb — pull request #112 by jamesonjlee (2013-05-27 04:19:09+00:00)
Title: Fix Package name for ubuntu + a hack

1. Fixes package names such that cookbook user can use the attributes to control installation
2. Fixes ubuntu package name to close issues like #86
3. adds a **hack**

#### hack ####
Due to ubuntu using upstart, I added a hack in `mongodb::default` that would stop the mongo server (if the upstart file is found) and remove the said upstart file. The hack should only ever run once (unless something keeps recreating the upstart file).

Ubuntu users who are using the cookbooks will not be affected since they have been installing via the `mongodb::10gen` which would not have used the upstart file.