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
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
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?!?
Tested on Ubuntu, CentOS
node[:locale][:lang]-- defaults to "en_US.utf8"
Include the default recipe in your run list.
This cookbook has no specified dependencies.