Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

blp-gemrc (6) Versions 3.0.0

Configures gemrc configuration file for RubyGems.

Policyfile
Berkshelf
Knife
cookbook 'blp-gemrc', '~> 3.0.0', :supermarket
cookbook 'blp-gemrc', '~> 3.0.0'
knife supermarket install blp-gemrc
knife supermarket download blp-gemrc
README
Dependencies
Changelog
Quality 50%

blp-gemrc cookbook

Build Status
Cookbook Version
License

The blp-gemrc cookbook is a library cookbook that provides a custom
resource for configuring the gemrc file for
a RubyGems environment.

Platforms

The following platforms are tested automatically
using Test Kitchen, in Docker, with
the default suite of integration tests:

  • Ubuntu 12.04/14.04/16.04
  • CentOS (RHEL) 6/7

Additionally, the platforms below are also known to work:

  • AIX 7.1
  • Solaris 5.11
  • Windows 2008r2/2012r2

Recipes

The default recipe configures the embedded gem configuration of
the Chef Client. This allows for changing the gem sources that would
get pulled from during a normal convergence.

Attributes

Attribute Name Type Default Value Description
node['gemrc']['config'] Hash gem: '--no-ri --no-rdoc' Sets the options for the default recipe gemrc configuration.
node['gemrc']['sensitive'] Boolean false Tells the default recipe whether the gemrc is sensitive (should not be output to Chef log)

Basic Usage

A common use case for this cookbook is to configure the Chef Client's gem environment to an internal mirror if behind the veil of the corporate firewall.

Here is an example of how to use an internal Artifactory instance to mirror the RubyGems.org repository.

node.default['gemrc']['path'] = Gem::ConfigFile::SYSTEM_WIDE_CONFIG_FILE
node.default['gemrc']['reload'] = true
node.default['gemrc']['config']['sources'] = ['http://artifactory.corporate.com/artifactory/api/gems/ruby-gems/']
include_recipe 'gemrc::default'

Dependent cookbooks

chef-sugar >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Change Log

All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.

[3.0.0]

[2.0.0]

  • Fix owner/group/mode issue on Windows. This release skips several version numbers to avoid confusion with other "gemrc" cookbooks out there.

1.0.2

  • Adds Ubuntu 18.04 support to testing matrix.

1.0.1

  • Removes unused attributes from the readme.

1.0.0

  • Rename and move cookbook under bloomberg-cookbooks organization.
  • Update cookbook to use Chef 12 resource DSL.
  • Updates integration tests to use InSpec and Policyfiles.

Collaborator Number Metric
            

3.0.0 passed this metric

Contributing File Metric
            

3.0.0 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
            

3.0.0 passed this metric

No Binaries Metric
            

3.0.0 passed this metric

Testing File Metric
            

3.0.0 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
            

3.0.0 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