Add Debian wheezy support for default version fact
Debian Wheezy has a default version of 9.1, but doesn't currently have an operatingsystemrelease value beyond 'wheezy'. This command searches for wheezy in the operatingsystemrelease fact and sets the fact value accordingly.
This commit is contained in:
parent
8bb71e4bc1
commit
147fa8e59b
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ def get_debian_postgres_version
|
|||
# TODO: add more debian versions or better logic here
|
||||
when /^6\./
|
||||
"8.4"
|
||||
when /^wheezy/
|
||||
"9.1"
|
||||
else
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue