Version information
released Apr 1st 2015
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet >=2.7.20 <4.0.0
- , , ,
Start using this module
Add this module to your Puppetfile:
mod 'thias-mongodb', '1.0.2'
Learn more about managing modules with a PuppetfileDocumentation
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 servermongodb::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',
}
2015-04-01 - 1.0.2
- Add mongod_version fact.
- Add mongod.conf template from 3.0.0.
2014-12-22 - 1.0.1
- Lowercase parameters in missing places.
2014-12-22 - 1.0.0
- Add conf template for 2.6 (RHEL7).
- Lowercase all parameters, and default them to undef.
- Add extra_options hash to set any options in the conf file.
- Install the client package too.
- Fix require and notify in the key definition.
- Cosmetic cleanups.
2013-06-13 - 0.1.2
- Fix the service name for Debian and Ubuntu.
2013-05-20 - 0.1.1
- Add support for overriding package, service and configuration file names.
- Update README and use markdown
- Change to 2-space indent
2012-12-18 - 0.1.0
- Add replSet option.
- Use undef by default instead of false where we want the defaults to apply
- Add rest, keyFile, smallfiles options.
- Add mongodb::key definition for installing rs keys.
2012-04-23 - 0.0.2
- Add basic support for enabling auth.
2012-04-20 - 0.0.1
- Initial release.
Copyright (C) 2011-2015 Matthias Saou Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.