Skip to content

Commit a021000

Browse files
author
Oana Tanasoiu
committed
(PDB-5052) Install PostgreSQL 11 for PDB > 7.0.0
1 parent 2a73385 commit a021000

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

manifests/params.pp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@
2424
} else {
2525
$manage_pg_repo = false
2626
}
27-
$postgres_version = '9.6'
27+
28+
if $puppetdb_version in ['latest','present'] or versioncmp($puppetdb_version, '7.0.0') >= 0 {
29+
$postgres_version = '11.12'
30+
} else {
31+
$postgres_version = '9.6'
32+
}
2833

2934
# The remaining database settings are not used for an embedded database
3035
$database_host = 'localhost'

0 commit comments

Comments
 (0)