Having gotten sick and tired of receiving error messages like this:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C"). I decided to solve the problem once and for all. We use puppet to manage machines, so this should be - and is - straight forward. /etc/puppet/modules/locales/files/locales.gen: