cookbook 'hosts_corrected', '= 2.0.0'
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.
hosts_corrected (3) Versions 2.0.0 Follow2
Configures the /etc/hosts file
cookbook 'hosts_corrected', '= 2.0.0', :supermarket
knife supermarket install hosts_corrected
knife supermarket download hosts_corrected
hosts_corrected Cookbook
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
2.0.0 failed this metric
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