Class mongodb::mongodb
In: /modules/mongodb/manifests/init.pp
Parent: mongodb::params

Class: mongodb

Install, enable and configure the MongoDB scalable, high-performance NoSQL database.

Parameters:

 See the comments in the included mongodb.conf.

Sample Usage :

 include mongodb
 class { 'mongodb':
     bind_ip => '0.0.0.0',
     verbose => 'true',
 }

Resources

Resources

File[$conffile]
   content => template("mongodb/mongodb.conf.erb")
   require => Package[$package]

Main configuration file

Package[$package]
   ensure => installed

Main package and service

Service[$service]
   enable => true
   ensure => running
   hasstatus => true
   subscribe => File[$conffile]
   require => Package[$package]

[Validate]