cookbook 'mongo_chef_gem', '~> 0.2.2'
mongo_chef_gem (5) Versions 0.2.2 Follow0
Provides the mongo_chef_gem resource
cookbook 'mongo_chef_gem', '~> 0.2.2', :supermarket
knife supermarket install mongo_chef_gem
knife supermarket download mongo_chef_gem
Mongo Chef Gem Installer Cookbook
Description
mongo_chef_gem is a library cookbook that provides an LWRP for use
in recipes. It provides a wrapper around chef_gem
called
mongo_chef_gem
that eases the installation process, collecting the
prerequisites and side-stepping the compilation phase arms race.
Scope
This cookbook is concerned with the installation of the mongo
Rubygem into Chef's gem path. Installation into other Ruby
environments, or installation of related gems such as mongo
are
outside the scope of this cookbook.
Requirements
- Chef 12 or higher
Usage
depends 'mongo_chef_gem', '~> 0.1.0'
Then, in a recipe:
mongo_chef_gem 'default' do action :install end
Resources Overview
mongo_chef_gem
The mongo_chef_gem
resource the build dependencies and installation
of the mongo
rubygem into Chef's Ruby environment
Example
mongo_chef_gem 'default' do mongo_version '2.1.2' bson_ext_version '1.12.4' action :install end
Parameters
-
mongo_version
- The version of themongo
Rubygem to install into the Chef environment. Defaults to last version. -
bson_ext_version
- The version of thebson_ext
Rubygem to install into the Chef environment. Defaults to last version.
Actions
-
:install
- Build and install the gem into the Chef environment -
:remove
- Delete the gem from the Chef environment
Authors
- Author:: Andrey Skopenko (andrey@skopenko.net)
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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
mongo_chef_gem CHANGELOG
0.2.2 (2017-10-01)
- Switch to Cookstyle
0.2.0 (2015-11-15)
- add bson_ext gem
0.1.1 (2015-11-14)
- update vestion for gem mongo, allow to install latest gem
0.1.0 (2015-11-13)
- Initial release
Collaborator Number Metric
0.2.2 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.2 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
0.2.2 failed this metric
FC066: Ensure chef_version is set in metadata: mongo_chef_gem/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.2 passed this metric
Testing File Metric
0.2.2 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
0.2.2 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
0.2.2 failed this metric
0.2.2 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
0.2.2 failed this metric
FC066: Ensure chef_version is set in metadata: mongo_chef_gem/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.2 passed this metric
Testing File Metric
0.2.2 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
0.2.2 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
0.2.2 failed this metric
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.2 passed this metric
Testing File Metric
0.2.2 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
0.2.2 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
0.2.2 failed this metric
0.2.2 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