puppetlabs/puppet-postgresql — pull request #46 by cprice-puppet (2012-12-07 18:43:30+00:00)
Title: Rework `postgres_default_version` fact

This commit fixes up the `postgres_default_version` fact so that
it doesn't use apt/yum (slow), and instead just has a hard-coded
list of default postgres versions for various OS versions. We
will need to add new OS versions to this fact over time, but that
seems preferable to the previous implementation which was causing
slower puppet runs on all nodes (regardless of whether they were
actually using postgres or not).