[CHEF-3283] Fixes locale problems in Ubuntu 12.04 that prevents installation of postgresql

https://tickets.opscode.com/browse/CHEF-3283

I'm applying the fix as shown here

http://serverfault.com/questions/384324/postgres-used-in-ubuntu-12-04

It may be related to pull request #1

Applying the recipe before postgresql installation worked for me on a vanilla rackspace Ubuntu 12 instance. Otherwise the default recipe always fail as illustrated in the ServerFault page.