edelight/chef-mongodb — pull request #275 by kquinsland (2014-04-01 00:50:40+00:00)
Title: Update 10gen_repo.rb

On amazon linux, Chef would error out. After a *lot* of debugging, the I found that the yum_repository LWRP was trying to execute `yum -d0 -e0 -y install mongo-10gen-server-2.4.9-mongodb_1`. This yielded errors indicating that installation could not proceed because the package was not signed.

In the `/etc/yum.repos.d/10gen.repo` file a `gpgcheck=0` directive must be added; this is not the default `yum_repository` behavior. I was unable to get the `mongodb::default` recipe to install mongo until I manually changed the `10gen.repo` file to read as

```
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
```