From b46763d4a7c20415ca3b0b51ea55b7fa513a8333 Mon Sep 17 00:00:00 2001 From: Kamil Szymanski Date: Thu, 28 Feb 2013 16:04:43 +0100 Subject: [PATCH] Update postgres_default_version for Ubuntu --- lib/facter/postgres_default_version.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/facter/postgres_default_version.rb b/lib/facter/postgres_default_version.rb index ca67c17..ea49bf2 100644 --- a/lib/facter/postgres_default_version.rb +++ b/lib/facter/postgres_default_version.rb @@ -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