cookbook 'locale', '= 1.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 1.0.2 Follow19
Configures the system locale on Linux systems
cookbook 'locale', '= 1.0.2', :supermarket
knife supermarket install locale
knife supermarket download locale
Sets the default system locale for this system. You can see which locales
are available by running
On Debian based systems, this recipe sets the locale by running
and on Fedora, it uses
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
Tested on Ubuntu, CentOS, Fedora
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.
Include the default recipe in your run list.
This cookbook has no specified dependencies.