Skip to content

Commit 3ea57a5

Browse files
Oana Tanasoiuaustb
authored andcommitted
(PDB-5052) Install PostgreSQL 11 for PDB > 7.0.0
1 parent 2a73385 commit 3ea57a5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

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'
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)