puppetlabs/puppetlabs-mongodb — pull request #144 by grafjo (2014-11-13 17:30:17+00:00)
Title: Fixed params.pp

There are two issues on Debian based distributions using
mongodb.org packages:

```puppet
class {'::mongodb::globals':
manage_package_repo => true,
}->
class {'::mongodb::server':}->
class {'::mongodb::client':}
```

### $config is undef for mongodb config unter /etc

Error: Parameter path failed on File[undef]: File paths must be fully qualified, not 'undef' at /etc/puppet/modules/mongodb/manifests/server/config.pp:83

### $service_name is `mongodb` instead of `mongod`

Error: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Could not evaluate: Could not find init script or upstart conf file for 'mongodb'
Error: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Failed to call refresh: Could not find init script or upstart conf file for 'mongodb'
Error: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Could not find init script or upstart conf file for 'mongodb'
Warning: /Stage[main]/Mongodb::Server::Service/Mongodb_conn_validator[mongodb]: Skipping because of failed dependencies
Warning: /Stage[main]/Mongodb::Server/Anchor[mongodb::server::end]: Skipping because of failed dependencies