Merge pull request #25328 from rallytime/bp-25309

Back-port #25309 to 2015.5
This commit is contained in:
Justin Findlay 2015-07-10 11:22:59 -06:00
commit 8f666a24f3

View File

@ -286,7 +286,7 @@ def gen_locale(locale, **kwargs):
__salt__['file.replace'](
'/etc/locale.gen',
r'^\s*#\s*{0}\s*$'.format(locale),
'{0}'.format(locale),
'{0}\\n'.format(locale),
append_if_not_found=True
)
elif on_ubuntu: