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 locale cookbook has been deprecated

Author provided reason for deprecation:

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

RSS

locale (7) Versions 2.0.1

Configures the system locale on Linux systems

Policyfile
Berkshelf
Knife
cookbook 'locale', '= 2.0.1', :supermarket
cookbook 'locale', '= 2.0.1'
knife supermarket install locale
knife supermarket download locale
README
Dependencies
Changelog
Quality 100%

locale cookbook

Build Status Cookbook Version

Sets the default system locale for this system. You can see which locales are available by running locale -a.

On Debian based systems, this recipe sets the locale by running update-locale and on Fedora, it uses localectl.

On RHEL based systems, the recipe operates on the /etc/sysconfig/i18n file directly because there is no standard command line tool to change the system locale settings.

Requirements

Platforms

  • Debian/Ubuntu
  • RHEL or derivatives
  • Fedora

Chef

  • Chef 12.1+

Cookbooks

  • none

Attributes

  • node['locale']['lang'] -- the value for "LANG": defaults to "en_US.utf8"
  • node['locale']['lc_all'] -- the value for "LC_ALL": defaults to "en_US.utf8"

Note that you cannot set "LC_ALL" on Fedora. It is a documented limitation; see "man 5 locale.conf". So this recipe simply ignores LC_ALL for Fedora.

Usage

Include the default recipe in your run list.

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2016, Chef Software, 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.

locale Cookbook CHANGELOG

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

2.0.1 (2017-03-20)

  • Fix the version badge in the readme
  • Testing updates to check for Chef 13 compat
  • Test with Local Delivery and not Rake
  • Add a basic chefspec testing

2.0.0 (2016-09-09)

  • Require Chef 12.1
  • Add linting, unit and integration testing in Travis CI
  • Add contributing and testing docs
  • Add license file
  • Add maintainers files
  • Add oracle to the metadata
  • Update the readme with an expanded requirements section and license information
  • Don't both installing locales since the cookbook will never to to the package resource if locales isn't already installed

Collaborator Number Metric
            

2.0.1 passed this metric

Contributing File Metric
            

2.0.1 passed this metric

Foodcritic Metric
            

2.0.1 passed this metric

No Binaries Metric
            

2.0.1 passed this metric

Testing File Metric
            

2.0.1 passed this metric

Version Tag Metric
            

2.0.1 passed this metric