Don't try to manage postgres packages on old Debian
This commit is contained in:
parent
925383d3e6
commit
06100c7d2d
1 changed files with 8 additions and 1 deletions
|
@ -62,8 +62,15 @@ class rhizo_base::postgresql::debian inherits rhizo_base::postgresql::common {
|
||||||
} else {
|
} else {
|
||||||
$listen = 'localhost'
|
$listen = 'localhost'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($lsbdistcodename == 'buster') {
|
||||||
|
$manage_repo = true
|
||||||
|
} else {
|
||||||
|
$manage_repo = false
|
||||||
|
}
|
||||||
|
|
||||||
class { 'postgresql::globals':
|
class { 'postgresql::globals':
|
||||||
manage_package_repo => true,
|
manage_package_repo => $manage_repo,
|
||||||
version => '9.6',
|
version => '9.6',
|
||||||
}->
|
}->
|
||||||
class { 'postgresql::server':
|
class { 'postgresql::server':
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue