cookbook 'L7-mongo', '= 1.0.2'
L7-mongo (13) Versions 1.0.2 Follow2
Installs/Configures mongodb, multi instance support
cookbook 'L7-mongo', '= 1.0.2', :supermarket
knife supermarket install L7-mongo
knife supermarket download L7-mongo
L7-mongo cookbook
Description
Configures Mongodb via Opscode Chef
It can handle multiple instances with different configuratioins and differend versions on the same machine.
Supported Platforms
- Ubuntu 12.04+
- Debian 7.0+
Recipes
-
L7-mongo
- The default no-op recipe.
Providers
-
L7_mongo_db
- Configures mongodb instance
Usage
Provider parameters:
-
url
: url for mongodb binary tgz -
home
: directory for mongodb instance (default "/opt") -
bind_ip
: listen address (default "127.0.0.1") -
port
: listen port (default 27017) -
default_instance
: creates symlink (default false) -
replSet
: replica set name (default not set)
A mongodb instance with custom parameters:
L7_mongo_db 'example' do port '27017' bind_ip '0.0.0.0' default_instance true end
TODO
Implement sharded cluster support.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
License
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2015 Gabor Szelcsanyi
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Foodcritic Metric
1.0.2 failed this metric
FC017: LWRP does not notify when updated: /tmp/cook/65210927085f3541955a428a/L7-mongo/providers/db.rb:11
FC023: Prefer conditional attributes: /tmp/cook/65210927085f3541955a428a/L7-mongo/providers/db.rb:148
1.0.2 failed this metric
FC023: Prefer conditional attributes: /tmp/cook/65210927085f3541955a428a/L7-mongo/providers/db.rb:148