Skip to content

fototo/yamc

 
 

Repository files navigation

YAMC

Supports exactly one standalone mongod node.

Recipe Description
default Runs install then configure, sequentially.
install Installs MongoDB, and starts up the mongod service.
configure Renders mongod.conf then restarts the mongod service.

The most up-to-date documentation is the code itself. The configuration template is intentionally in-lined for legibility purposes, and the default attributes carry the same descriptors as the table below.

Attribute Default Description
version 2.6.1 The version of MongoDB to install.
logPath /var/log/mongodb Where MongoDB should keep its log files.
dbPath /data/db Where MongoDB should keep its database files.
port 27017 What port MongoDB should listen on.
bindIp 127.0.0.1 The IP address MongoDB should bind to.

There are also a few scripts in scripts if you're interested in contributing:

Script Description
bootstrap Bootstraps the environment for YAMC development.
test Runs utest then itest, sequentially.
utest Runs unit tests on YAMC using chefspec.
itest Runs integration (smoke) tests on YAMC using test-kitchen.

About

Yet another Mongo cookbook.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 94.3%
  • HTML 4.0%
  • Shell 1.7%