cookbook 'L7-mongo', '= 1.0.14'
L7-mongo (13) Versions 1.0.14 Follow2
Installs/Configures mongodb, multi instance support
cookbook 'L7-mongo', '= 1.0.14', :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.
Please note that this cookbook does not use the 10gen apt repository, and instead downloads the required binaries from a given server.
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 (default: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.1.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) -
smallfiles
: use smallfile allocation (default false) -
journal
: use durable journaling (default true) -
notablescan
: disables queries using fts (default true) -
rest
: enable rest interface for monitoring (default true) -
httpinterface
: enable http interface (default true) -
auth
: enable authentication (default false) -
user
: run mongodb as this user (default mongodb) -
group
: run mongodb as this group (default mongodb) -
backup
: do backup -
backup_host
: where the backup goes over ssh -
backup_port
: ssh port -
backup_user
: user name for ssh -
backup_path
: path to backup directory -
backup_hour
: at what hour should the backup be started (default 2am) - `backup_minute: at what minute should the backup be started (default 0)
-
backup_pubkey
: ssh pulic key for backup user -
backup_privkey
: ssh private key for backup user
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.
Collaborator Number Metric
1.0.14 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.14 failed this metric
FC066: Ensure chef_version is set in metadata: L7-mongo/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: L7-mongo/resources/db.rb:1
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.14 passed this metric
No Binaries Metric
1.0.14 passed this metric
Testing File Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.14 failed this metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.0.14 failed this metric
FC066: Ensure chef_version is set in metadata: L7-mongo/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: L7-mongo/resources/db.rb:1
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.0.14 passed this metric
No Binaries Metric
1.0.14 passed this metric
Testing File Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.14 failed this metric
FC074: LWRP should use DSL to define resource's default action: L7-mongo/resources/db.rb:1
Run with Foodcritic Version 12.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.14 passed this metric
No Binaries Metric
1.0.14 passed this metric
Testing File Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.14 passed this metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.0.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
1.0.14 failed this metric