puppetlabs/puppetlabs-postgresql — pull request #230 by mcanevet (2013-08-12 09:12:25+00:00)
Title: Add support for updating database charset

When you install postgresql package via puppet on Debian, it uses 'C' as locales and thus creates templates databases with SQL_ASCII instead of UTF8. We could ensure that templates charset is really set to default with:

````puppet
postgresql::database { ['template0', 'template1', 'postgres']:
update_charset => true,
}
````