puppetlabs/puppet-postgresql — pull request #69 by Seldaek (2013-01-14 18:50:10+00:00)
Title: Provide version for ubuntu 12.10

Might be doable for debian & ubuntu by running `apt-cache show postgresql | grep Version` and then parsing that, but I am not sure how much overhead that would add and what is considered good practice in the facter world. My ruby skills are also quite insufficient to do it without checking things anyway ;)