Merge pull request #143 from kamilszymanski/postgres_default_version

Update postgres_default_version for Ubuntu
This commit is contained in:
Chris Price 2013-02-28 09:19:02 -08:00
commit 16c7dda9d4

View file

@ -23,12 +23,9 @@ end
def get_ubuntu_postgres_version
case Facter.value('operatingsystemrelease')
# TODO: add more ubuntu versions or better logic here
when "12.10"
when "11.10", "12.04", "12.10"
"9.1"
when "12.04"
"9.1"
when "10.04"
when "10.04", "10.10", "11.04"
"8.4"
else
nil