cookbook 'locales', '= 0.3.1'
locales
(17) Versions
0.3.1
-
Follow5
Installs/Configures locales
cookbook 'locales', '= 0.3.1', :supermarket
knife supermarket install locales
knife supermarket download locales
Description
This cookbook configures the available and default locales on a debian-like-system.
It also includes a LWRP for easy use in other cookbooks.
Limitation
Right now the cookbook only works with UTF-8 locales.
Requirements
None
Attributes
-
node[:locales][:default]
-- the default locale to be installed. Defaults to "en_US.utf8".
Usage
Either use the node-attributes or the included LWRP "locales".
locales "de_AT.utf8" do action :add end
locales "Add locales" do locales ["fr_FR.utf8", "fr_BE.utf8", "fr_CA.utf8"] end
locales "ru_RU.utf8" do action :set end
License and Author
Author: Philipp Bergsmann (p.bergsmann@opendo.at)
Thanks for the contributions by:
* Guilhem Lettron
* Barthélemy Vessemont
* Ed Bosher
* Christian Rodriguez
Copyright: 2013 opendo GmbH (http://opendo.at)
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
Collaborator Number Metric
0.3.1 passed this metric
Contributing File Metric
0.3.1 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
0.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: locales/metadata.rb:1
FC065: Ensure source_url is set in metadata: locales/metadata.rb:1
FC066: Ensure chef_version is set in metadata: locales/metadata.rb:1
FC069: Ensure standardized license defined in metadata: locales/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: locales/resources/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.1 passed this metric
Testing File Metric
0.3.1 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
0.3.1 passed this metric
0.3.1 passed this metric
0.3.1 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
0.3.1 failed this metric
FC064: Ensure issues_url is set in metadata: locales/metadata.rb:1
FC065: Ensure source_url is set in metadata: locales/metadata.rb:1
FC066: Ensure chef_version is set in metadata: locales/metadata.rb:1
FC069: Ensure standardized license defined in metadata: locales/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: locales/resources/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.3.1 passed this metric
Testing File Metric
0.3.1 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
0.3.1 passed this metric
0.3.1 failed this metric
FC065: Ensure source_url is set in metadata: locales/metadata.rb:1
FC066: Ensure chef_version is set in metadata: locales/metadata.rb:1
FC069: Ensure standardized license defined in metadata: locales/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: locales/resources/default.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.3.1 passed this metric
Testing File Metric
0.3.1 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
0.3.1 passed this metric
0.3.1 failed this metric
0.3.1 passed this metric