Installs mongodb on Ubuntu/Debian from OS repo, or alternatively per 10gen installation documentation.
Parameters:
- enable_10gen (default: false) - Whether or not to set up 10gen software repositories
- init (auto discovered) - override init (sysv or upstart) for Debian derivatives
- location - override apt location configuration for Debian derivatives
- packagename (auto discovered) - override the package name
- servicename (auto discovered) - override the service name
By default ubuntu is upstart and debian uses sysv.
Examples:
class mongodb {
init => 'sysv',
}
class mongodb {
enable_10gen => true,
}
- Debian Wheezy
- Ubuntu 12.04 (precise)
- RHEL 6