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

The hosts_corrected cookbook has been deprecated

Author provided reason for deprecation:

The hosts_corrected cookbook has been deprecated and is no longer being maintained by its authors. Use of the hosts_corrected cookbook is no longer recommended.

RSS

hosts_corrected (3) Versions 2.0.0

Configures the /etc/hosts file

Policyfile
Berkshelf
Knife
cookbook 'hosts_corrected', '= 2.0.0', :supermarket
cookbook 'hosts_corrected', '= 2.0.0'
knife supermarket install hosts_corrected
knife supermarket download hosts_corrected
README
Dependencies
Changelog
Quality 0%

hosts_corrected Cookbook

Build Status
Cookbook Version

A very simple cookbook to create a properly formatted /etc/hosts file since RHEL/CentOS can't be bothered to do it right

Requirements

Chef

  • Chef 11+

Platforms

  • CentOS/RHEL

Cookbooks:

  • none

Attributes

None

Usage

Add to the runlist (the higher the better)

License and Author

Author:: Tim Smith()

Copyright:: Copyright (c) 2012 Webtrends Inc

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

There are no cookbooks that are contingent upon this one.

hosts_correct Cookbook CHANGELOG

This file is used to list changes made in each version of the hosts_correct cookbook.

2.0.0

  • Update the name in the metadata to match the Supermarket name
  • Update the license to Apache 2.0 from all rights reserved and include the license file
  • Update contact information to my gmail account
  • Add a Travis CI config
  • Add a Test Kitchen config
  • Add a Gemfile with development dependencies
  • Add a rubocop config and resolve warnings
  • Add source_url and issues_url to metadata
  • Add .gitignore file
  • Add Berksfile
  • Add basic Chefspec unit test

Foodcritic Metric
            

2.0.0 failed this metric

FC023: Prefer conditional attributes: /tmp/cook/b7e98ca496fb8267bbebad86/hosts_corrected/recipes/default.rb:10
FC024: Consider adding platform equivalents: /tmp/cook/b7e98ca496fb8267bbebad86/hosts_corrected/recipes/default.rb:10
FC031: Cookbook without metadata file: /tmp/cook/b7e98ca496fb8267bbebad86/hosts_corrected/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/b7e98ca496fb8267bbebad86/hosts_corrected/metadata.rb:1