cookbook 'locale', '= 0.0.2'
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.
locale (7) Versions 0.0.2 Follow19
Configures the system locale on Linux systems
cookbook 'locale', '= 0.0.2', :supermarket
knife supermarket install locale
knife supermarket download locale
Description
Sets default system locale
You can see which languages are available by
$ locale -a
On debian based systems you can set the locale by running
update-locale LANG={lang}
e.g.
update-locale LANG=en_AU.utf8
It updates the file /etc/default/locale
On rhel based systems you can set default locale updating /etc/sysconfig/i18n
There doesn't seem to be a command line tool to update this file?!?
Requirements
Tested on Ubuntu, CentOS
Attributes
-
node[:locale][:lang]
-- defaults to "en_US.utf8"
Usage
Include the default recipe in your run list.
Dependent cookbooks
This cookbook has no specified dependencies.