Forge Home

mongodb

MongoDB simple module

18,213 downloads

2,077 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.0.8 (latest)
  • 1.0.7
  • 1.0.6
  • 1.0.5
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
  • 0.1.2
  • 0.1.1
  • 0.1.0
  • 0.0.1
released Apr 1st 2015
This version is compatible with:
  • Puppet Enterprise 3.x
  • Puppet >=2.7.20 <4.0.0
  • , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'thias-mongodb', '1.0.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thias-mongodb
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thias-mongodb --version 1.0.2

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

thias/mongodb — version 1.0.2 Apr 1st 2015

puppet-mongodb

Overview

Install, enable and configure the MongoDB scalable, high-performance NoSQL database. This module is quite Red Hat Enterprise Linux (RHEL) or clones (CentOS) specific, but should be easy to make more generic. It's meant to be simple, to manage only the service's configuration (not the MongoDB resources themselves) and to not have any external module dependencies.

The default generated configuration file is meant to be as close a possible to the one included in the Fedora/EPEL packages.

  • mongodb : Manage the MongoDB NoSQL server
  • mongodb::key : Manage auth key file to be used for MongoDB replicas

Examples

mongodb::key { '/etc/mongodb.key':
  content => 'c9otjehasAvlactocPiphAgC9',
}
class { '::mongodb':
  bind_ip => '0.0.0.0',
  auth    => 'true',
  rest    => 'true',
  replset => 'rs0',
  keyfile => '/etc/mongodb.key',
}