cookbook 'locales', '~> 2.0.0'
locales
(19) Versions
2.0.0
-
Follow5
Provides a custom resource for generating and configuring system locales
cookbook 'locales', '~> 2.0.0', :supermarket
knife supermarket install locales
knife supermarket download locales
Description
This cookbook provides a custom resource for configuring available and default locales on Debian-like systems.
Limitation
Right now the cookbook only works with UTF-8 locales.
See [LIMITATIONS.md](LIMITATIONS.md) for supported platforms and package constraints.
Requirements
None
Migration
This cookbook no longer ships recipes or node attributes. See [migration.md](migration.md) for the
breaking changes and resource-based replacements.
Usage
Use the locales custom resource.
locales 'de_AT' do action :add end
locales 'add locales' do locales %w(fr_FR fr_BE fr_CA) end
locales 'ru_RU' do action :set end
Resources
- [locales](documentation/locales_locales.md)
Contributors
This project exists thanks to all the people who contribute.
Backers
Thank you to all our backers!
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Changelog
2.0.0 (2026-05-07)
⚠ BREAKING CHANGES
- migrate locales to custom resources (#52)
Features
Bug Fixes
1.0.11 (2025-10-15)
Bug Fixes
1.0.1 - 2023-03-02
- Standardise files with files in sous-chefs/repo-management
1.0.0 - 2023-02-15
- Add unified_mode true to the default resource, for Chef 18 compatibility
- Add execute[locale-gen] to the default provider add_locale function to allow notify to work again
- Update serverspecs for v2+
0.4.5 - 2023-02-14
- Standardise files with files in sous-chefs/repo-management
0.4.4 - 2023-02-14
- Standardise files with files in sous-chefs/repo-management
0.4.3 - 2022-02-08
- Remove delivery folder
0.4.2 - 2021-08-31
- Standardise files with files in sous-chefs/repo-management
0.4.1 - 2021-06-01
- Adoption by Sous-Chefs
Collaborator Number Metric
2.0.0 passed this metric
Contributing File Metric
2.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
Cookstyle Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.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
2.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
2.0.0 passed this metric
2.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
Cookstyle Metric
2.0.0 passed this metric
No Binaries Metric
2.0.0 passed this metric
Testing File Metric
2.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
2.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
2.0.0 passed this metric
2.0.0 passed this metric
Testing File Metric
2.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
2.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
2.0.0 failed this metric
2.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