/puppetlabs-mongodb

mongodb installation

Primary LanguagePuppetOtherNOASSERTION

mongodb puppet module

Overview

Installs mongodb on Ubuntu/Debian from OS repo, or alternatively per 10gen installation documentation.

Usage

class mongodb

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,
}

mongodb::add_user { "yomama":
  password => "aVeryNicePasswordInPlainText",
  database => "test",
}

class mongodb::python

Installs the python bindings for mongodb using the pip provider.

Supported Platforms

  • Debian Wheezy
  • Ubuntu 12.04 (precise)
  • RHEL 6