This cookbook is under active development, and its public interface may change.
What this warning means is that the attributes, and actions used by mongod_instance
,
mongodb_release
and other pieces of this cookbook may drastically change.
When using this cookbook please reference an exact SHA commit from this repository to ensure continuous functionality.
This cookbook provides opinionated resources and providers for installing and configuring 10gen's MongoDB database, supervised by runit
.
Linux
The cookbook defines the following resources:
mongodb_release
Downloads and unpacks a MongoDB binary release tarball as provided by 10gen.
The checksum used for the tarball is a sha256.
This resource requires a version
parameter, and by default will unpack the release to /opt/mongodb/$VERSION
.
mongod_instance
Configures, starts and enables an instance of the mongod
daemon as a service. Requires an install_prefix
parameter.
Examine the test recipes under `test/cookbooks/mongodb-test/recipes' for examples of these resources in use.
There are none
default - installs runit to ensure it is available to the instance providers.
Add resources/providers for mongodb_mongos_instance
and mongodb_configsvr_instance
Author:: Cameron Johnston ([email protected])
Copyright:: 2013, Needle Inc.