Merge pull request #143 from kamilszymanski/postgres_default_version
Update postgres_default_version for Ubuntu
This commit is contained in:
commit
16c7dda9d4
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue