Merge pull request #31170 from rallytime/bp-31157

Back-port #31157 to 2015.8
This commit is contained in:
Mike Place 2016-02-12 11:27:49 -07:00
commit f2efd3e6c1

View file

@ -242,7 +242,7 @@ def gen_locale(locale, **kwargs):
locale_info = salt.utils.locales.split_locale(locale)
# if the charmap has not been supplied, normalize by appening it
if not locale_info['charmap']:
if not locale_info['charmap'] and not on_ubuntu:
locale_info['charmap'] = locale_info['codeset']
locale = salt.utils.locales.join_locale(locale_info)