]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
(MODULES-1231) Fix apt::force locale issues
authorjuniorsysadmin <juniorsysadmin@users.noreply.github.com>
Thu, 11 Dec 2014 02:41:01 +0000 (13:41 +1100)
committerjuniorsysadmin <juniorsysadmin@users.noreply.github.com>
Mon, 15 Dec 2014 12:31:09 +0000 (23:31 +1100)
commitb737557e314f23d0cb5098f60b35525241372dd9
tree7cbd171e200ccfa614e8c260a4d4951b2b417644
parent612efe54d77d6e21c44ecd0f938cea468a1174c1
(MODULES-1231) Fix apt::force locale issues

The current $install_check variable greps for 'Installed' or
'Candidate', which means that it will give the wrong result
when a non-English locale is used. This patch ensures that the
check will work properly for non-English locales by setting the
environment parameters for the exec to LC_ALL=C LANG=C
manifests/force.pp